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

Checking Variables (Dev. Tool)

描述

Are you a WordPress Developer? Just simply check the values of your variables. You can use it either in Query Monitor result and independently.

用法

  1. Using console( $var [, $var [, $var]] … ); function, you can check what the variable contains.
  2. You can check it on the Query Monitor – Variable Checking or your wp_footer.

屏幕截图

  • 操作
  • Position on Query Monitor
  • Result on Query Monitor
  • Result on Footer
  • Result on Javascript Console

安装

From your WordPress dashboard

  1. Visit ‘Plugins > Add New’
  2. Search for ‘Checking Variables’
  3. Activate ‘Checking Variables (Dev. Tool)’ from your Plugins page.

From WordPress.org

  1. Download the plugin zip package and extract it.
  2. Put the folder named “query-monitor-check-var” under /wp-content/plugins/ directory
  3. Go to the plugins page in your WordPress admin panel and click “Activate”

评价

2019 年 2 月 18 日
Has a few small quirks but still a nice companion to any debugging outfit. Works fine with WP v5.0.3 and all of the latest updates from QM.
阅读所有1条评价

贡献者及开发者

“Checking Variables (Dev. Tool)” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

4.0.0

  • Fix Some Errors
  • Fix Interface

3.0.5

  • Fix Errors : When check value with brackets (ex. console( $somevar . ” got it!” ) )

3.0.4

  • Fix Errors

3.0.3

  • Fix Error : Protected and Private Key Error

3.0.2

  • Fix Some Error

3.0.1

  • Fix Plugins Page Setting Link
  • Fix Javascript Console Error

3.0

  • Improvement
  • Output Style : Show Variable Name, Show Variable Location
  • Javascript Console Screen
  • Capability Control

2.0

  • Make it can be used independently.

1.0

  • Original Version