這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Debug Bar Post Types

描述

Debug Bar Post Types adds a new panel to the Debug Bar that displays detailed information about the registered post types for your site.

Important

This plugin requires the Debug Bar plugin to be installed and activated.

Also note that this plugin should be used solely for debugging and/or in a development environment and is not intended for use on a production site.

If you like this plugin, please rate and/or review it. If you have ideas on how to make the plugin even better or if you have found any bugs, please report these in the Support Forum or in the GitHub repository.

螢幕截圖

  • Debug Bar Post Types - Standard Post Type Properties view
  • Debug Bar Post Types - Custom Post Type Properties view
  • Debug Bar Post Types - Capabilities view
  • Debug Bar Post Types - Defined labels view

安裝

  1. Install Debug Bar if not already installed (https://wordpress.org/plugins/debug-bar/)
  2. Extract the .zip file for this plugin and upload its contents to the /wp-content/plugins/ directory. Alternatively, you can install directly from the Plugin directory within your WordPress Install.
  3. Activate the plugin through the “Plugins” menu in WordPress.

常見問題

Installation Instructions
  1. Install Debug Bar if not already installed (https://wordpress.org/plugins/debug-bar/)
  2. Extract the .zip file for this plugin and upload its contents to the /wp-content/plugins/ directory. Alternatively, you can install directly from the Plugin directory within your WordPress Install.
  3. Activate the plugin through the “Plugins” menu in WordPress.
Can it be used on live site ?

This plugin is only meant to be used for development purposes, but shouldn’t cause any issues if run on a production site.

What are post types ?

WordPress can hold and display many different types of content. A single item of such a content is generally called a post, although post is also a specific post type. Internally, all the post types are stored in the same place, in the wp_posts database table, but are differentiated by a column called post_type.

WordPress 3.0 gives you the capability to add your own custom post types and to use them in different ways.
More information in the Codex

Why won’t the plugin activate ?

Have you read what it says in the beautifully red bar at the top of your plugins page ? As it says there, the Debug Bar plugin needs to be active for this plugin to work. If the Debug Bar plugin is not active, this plugin will automatically de-activate itself.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Debug Bar Post Types” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

Debug Bar Post Types 外掛目前已有 3 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 Debug Bar Post Types 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

2.0.0

Release date: 2018-01-22

  • Improved compatibility with PHP 7.2.
  • Updated the pretty print dependency to v1.8.0.
  • Refactoring of part of the code base. No functional changes.
  • General housekeeping.
  • Added minimum PHP requirement header. (PHP 5.2.4, in line with WP itself.)
  • Tested & found compatible WP 4.9.

1.4.0

Release date: 2017-07-10

  • Improved usability of the admin notice in case the Debug Bar plugin is not active.
  • The plugin will now add itself to the list of “recently active” plugins if it self-deactivates bcause the Debug Bar plugin is not active.
  • Defer to just in time loading of translations for WP > 4.5.
  • Updated the pretty print dependency to v1.7.0.
  • Some code refactoring.
  • Minor housekeeping.
  • The minimum supported WP version is now 3.4, in line with the 0.9 version of the Debug Bar.
  • Tested & found compatible WP 4.8.

1.3.0

Release date: 2016-04-12

  • Hard-coded the text-domain for better compatibility with GlotPress.
  • Make loading of text-domain compatible with use of the plugin in the must-use plugins directory.
  • Fix very minor layout inconsistency in combination with Twenty-Sixteen theme.
  • Updated the pretty print class to v1.6.0.
  • Minor housekeeping.
  • Tested & found compatible with WP 4.5

1.2.2

Release date: 2015-12-26

  • Fix weird table layout on front-end in combination with Twenty-Sixteen theme.
  • Minor tidying up.

1.2.1

Release date: 2015-12-05

  • Updated pretty print class & minor tidying up.
  • Tested & found compatible with WP 4.4

1.2

Release date: 2015-04-18

  • Added a count of the registered Custom Post Types to the top of the page.
  • Split the display of Post Type properties. Standard post type properties are now shown first. Non-standard properties added by Custom Post Types are shown in a separate table.
  • Added a table showing the defined labels for Post Types.
  • Updated the pretty print class which now allows for limiting of the recursion depth when displaying the property values – props Joy for reporting issues with the Easy Post Types plugin. These should now be solved with this update.
  • Tested & found compatible with WP 4.2
  • Minor tidying up
  • Updated language files
  • Updated screenshots

1.1.1

Release date: 2014-09-05

1.1

Release date: 2013-12-02

  • Minor tidying up
  • Moved pretty print class to separate repository as several plugins are using it now.

1.0

Release date: 2013-11-29

  • Initial release