Linux 软件免费装
Banner图

Quick Drafts Access

开发者 coffee2code
更新时间 2023年8月23日 02:14
捐献地址: 去捐款
PHP版本: 4.6 及以上
WordPress版本: 6.3
版权: GPLv2 or later
版权网址: 版权信息

标签

post page menu admin multiuser shortcut coffee2code draft drafts post_type

下载

1.0.1 1.0.2 1.1.1 1.1.2 1.1.3 1.1.4 2.0 2.0.1 2.0.2 2.1 2.1.1 2.2 2.2.2 2.2.3 1.1 2.2.1 2.2.4 2.3 2.3.1 1.0

详情介绍:

By default in WordPress, accessing the drafts listing of any given post type (including posts and pages) in the admin requires multiple clicks. Then filtering the drafts listing by a particular user (generally to view only your drafts) additionally requires some non-obvious manual URL hacking. This plugin allows you one click access to all drafts, as well as to just your drafts, of each post type via the main admin menu. In addition, the plugin provides a count of the number of current drafts for that post type in the link (i.e. the link could read "All Drafts (3)" to indicate there are three drafts for that post type, and "My Drafts (1)" to indicate you only have one draft for that post type). When the user is responsible for all of the drafts of a given post type (and the "My Drafts" link is not disabled via a hook) then only the "My Drafts" links will appear. It would be redundant to show both the "All Drafts" and "My Drafts" links in this situation. This behavior also ensures only one link is present for single-author blogs. Also, the draft link(s) only appear for users who have the capability to edit posts of that post type. The plugin hides the two types of draft links when no related drafts for that post type are present. See the Filters section for how to override this behavior. Filters are also provided to disable the plugin from ever showing the "All Drafts" or the "My Drafts" links. On admin listings of only draft posts, this plugin also adds a dropdown above the table that allows for the listing to be filtered by the selected draft author. (Only users who actually have a draft post are included in the dropdown.) Links: Plugin Homepage | Plugin Directory Page | GitHub | Author Homepage

安装:

  1. Install via the built-in WordPress plugin installer. Or download and unzip quick-drafts-access.zip inside the plugins directory for your site (typically wp-content/plugins/)
  2. Activate the plugin through the 'Plugins' admin menu in WordPress

屏幕截图:

  • When viewing a listing of drafts, the plugin introduces a dropdown above the posts table that allows filtering the drafts by post author.

升级注意事项:

2.3.1 Trivial update: noted compatibility through WP 6.3+ and updated copyright date (2023) 2.3 Minor update: refined default support to be only for public post types, added DEVELOPER-DOCS.md, noted compatibility through WP 5.8+, and minor reorganization and tweaks to unit tests 2.2.4 Trivial update: noted compatibility through WP 5.7+ and updated copyright date (2021) 2.2.3 Minor update: Fixed post type support check to prevent display of dropdown for unsupported post types, added TODO.md file, updated a few URLs to be HTTPS, tweaked formatting of output markup, and noted compatibility through WP 5.4+. 2.2.2 Trivial update: noted compatibility through WP 5.3+ and updated copyright date (2020) 2.2.1 Trivial update: modernized unit tests, added screenshot for draft author filter dropdown, and noted compatibility through WP 5.2+ 2.2 Minor update: added dropdown to filter listing of drafts by author, noted compatibility through WP 5.1+, updated copyright date (2019), and more. 2.1.1 Trivial update: ensured filtered values are booleans, added README.md, noted compatibility through WP 4.9+, and updated copyright date (2018) 2.1 Minor update: noted compatibility through WP 4.7+, dropped compatibility with versions of WP older than 4.6, and updated copyright date 2.0.2 Trivial update: adjustments to utilize language packs, minor unit test tweaks, noted compatibility through WP 4.4+, and updated copyright date 2.0.1 Minor update: minor security hardening; actually load textdomain; noted compatibility through WP 4.3+ 2.0 Substantial update: now there is the potential for 'All Drafts' and/or 'My Drafts' menu links; added localization support; noted compatibility through WP 4.1+; more 1.1.4 Trivial update: noted compatibility through WP 3.8+ 1.1.3 Trivial update: noted compatibility through WP 3.5+ 1.1.2 Trivial update: noted compatibility through WP 3.4+; explicitly stated license 1.1.1 Trivial update: noted compatibility through WP 3.3+; updated screenshots 1.1 Moderate update: noted compatibility through WP 3.2+; dropped support for versions of WP older than 3.1; improved internationalization support 1.0.2 Trivial update: add link to plugin homepage to description in readme.txt 1.0.1 Trivial update: noted compatibility with WP 3.1+ and updated copyright date.

常见问题:

Why don't I see an "All Drafts" or "My Drafts" link in my menu after activating the plugin?

Does that post type have any drafts? By default, the plugin does NOT display the drafts links if no drafts are present for that post type. This behavior can be overridden (see the Filters section). The "All Drafts" link is always hidden for users who are responsible for all drafts of a given post type, assuming the "My Drafts" link is configured to be displayed (which it is by default).

Why don't you show the "All Drafts" and "My Drafts" links for post types that don't have any drafts?

Like the Posts and Pages admin tables in WordPress, the default behavior of the plugin is to not show the drafts link if none are present for the post type since there isn't anything meaningful to link to. Bear in mind that the behavior can be overridden (see the Filters section).

For my single author site, isn't it redundant to display both the "All Drafts" and "My Drafts" links since they are effectively identical?

Yes, which is why the plugin hides the "All Drafts" link when the "My Drafts" link is configured to be displayed (which it is by default) and the user is responsible for all of the drafts for a given post type.

更新日志:

2.3.1 (2023-04-29) 2.3 (2021-09-22) 2.2.4 (2021-03-27)