Title: Debug Bar Screen Info
Author: bradvin
Published: <strong>2013 年 7 月 21 日</strong>
Last modified: 2016 年 4 月 28 日

---

搜索插件

![](https://ps.w.org/debug-bar-screen-info/assets/banner-772x250.jpg?rev=854968)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/debug-bar-screen-info_f0f0f0.svg)

# Debug Bar Screen Info

 作者：[bradvin](https://profiles.wordpress.org/bradvin/)

[下载](https://downloads.wordpress.org/plugin/debug-bar-screen-info.1.1.5.zip)

 * [详情](https://cn.wordpress.org/plugins/debug-bar-screen-info/#description)
 * [评价](https://cn.wordpress.org/plugins/debug-bar-screen-info/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/debug-bar-screen-info/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/debug-bar-screen-info/#developers)

 [支持](https://wordpress.org/support/plugin/debug-bar-screen-info/)

## 描述

> This plugin is an add-on for _Debug Bar_.
>  You must install and activate [Debug Bar](https://wordpress.org/plugins/debug-bar/)
> first, for this plugin to work.

Adds a new tab to the debug bar which shows all the screen info for the current 
page in the admin backend.

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

If you like this plugin, please [rate and/or review](https://wordpress.org/support/view/plugin-reviews/debug-bar-screen-info)
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](https://wordpress.org/support/plugin/debug-bar-screen-info)
or in the [GitHub repository](https://github.com/fooplugins/debug-bar-screen-info/issues).

## 屏幕截图

[⌊New Screen Info Panel⌉⌊New Screen Info Panel⌉[

New Screen Info Panel

## 安装

 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. 通过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.

  Why should I be interested in the screen info ?

Because you can use it to conditionally include files, add help tabs, enqueue scripts
and styles etc for the admin pages. Lean loading FTW 😉

  Where does the screen info come from ?

The screen info is retrieved via the `get_current_screen()` function and contains
a `WP_Screen` object.

> Role of WP_Screen
> This is a concrete class that is instantiated in the WordPress $screen global.
> It is primarily used to create and customize WordPress admin screens (as of WordPress
> 3.3).

[More information in the Codex](https://codex.wordpress.org/Class_Reference/WP_Screen)

  Why won’t the plugin activate ?

Have you read what it says in the beautiful 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.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Debug Bar Screen Info」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ bradvin ](https://profiles.wordpress.org/bradvin/)
 *   [ Juliette Reinders Folmer ](https://profiles.wordpress.org/jrf/)

「Debug Bar Screen Info」插件已被翻译至 2 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/debug-bar-screen-info/contributors)
为本插件所做的贡献。

[帮助将「Debug Bar Screen Info」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/debug-bar-screen-info)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/debug-bar-screen-info/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/debug-bar-screen-info/)，或通过[RSS](https://plugins.trac.wordpress.org/log/debug-bar-screen-info/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/debug-bar-screen-info/)。

## 更新日志

#### 1.1.5

 * Hard-code the text-domain for better compatibility with [GlotPress](https://translate.wordpress.org/projects/wp-plugins/debug-bar-screen-info).
 * Make loading of text-domain compatible with use of the plugin in the `must-use`
   plugins directory.
 * Updated the pretty print class to v1.6.0.
 * Tested & found compatible with WP 4.5
 * Minor tidying up

#### 1.1.4

 * Updated the pretty print class.
 * Tested & found compatible with WP 4.4
 * Minor tidying up

#### 1.1.3

 * Fix compatibility with the [Plugin Dependencies](https://wordpress.org/plugins/plugin-dependencies/)
   plugin
 * Updated the pretty print class which now allows for limiting of the recursion
   depth.
 * Tested & found compatible with WP 4.2
 * Minor tidying up
 * Updated language files

#### 1.1.2

 * Fix for parentage not being set as admin bar is loaded too early – [issue #5](https://github.com/fooplugins/debug-bar-screen-info/issues/5).
   Thanks [grappler](https://github.com/grappler) for reporting.

#### 1.1.1

 * Variable values are now pretty printed with type indication by default.

#### 1.1.0

 * Merge with [Jrf](https://profiles.wordpress.org/jrf/)‘s version of the same:
    - Now displays all available properties
    - Displays current screen id + property count at top of panel and link to WP_Screen
      at the bottom
    - Limits visibility to admin site as it’s not relevant on the front-end
    - Auto-disables itself when Debug Bar is not activated
    - Added some css styling
    - Made text strings translatable, added .pot file and a Dutch translation

#### 1.0.0

 * First release

## 额外信息

 *  版本 **1.1.5**
 *  最后更新：**10 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.5.1 或更高版本 **
 *  已测试的最高版本为 **4.5.33**
 *  语言
 * [English (Canada)](https://en-ca.wordpress.org/plugins/debug-bar-screen-info/)、
   [English (US)](https://wordpress.org/plugins/debug-bar-screen-info/) 和 [Swedish](https://sv.wordpress.org/plugins/debug-bar-screen-info/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/debug-bar-screen-info)
 * 标签
 * [debug](https://cn.wordpress.org/plugins/tags/debug/)[debug bar](https://cn.wordpress.org/plugins/tags/debug-bar/)
 *  [高级视图](https://cn.wordpress.org/plugins/debug-bar-screen-info/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/debug-bar-screen-info/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/debug-bar-screen-info/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/debug-bar-screen-info/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/debug-bar-screen-info/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/debug-bar-screen-info/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/debug-bar-screen-info/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/debug-bar-screen-info/reviews/)

## 贡献者

 *   [ bradvin ](https://profiles.wordpress.org/bradvin/)
 *   [ Juliette Reinders Folmer ](https://profiles.wordpress.org/jrf/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/debug-bar-screen-info/)