Linux 软件免费装
Banner图

Machine Language

开发者 szepe.viktor
更新时间 2015年12月27日 01:00
捐献地址: 去捐款
PHP版本: 3.8 及以上
WordPress版本: 4.4
版权: GPLv2

标签

debug admin development setting options option settings debugging screen developer debugger

下载

0.3 0.3.1 0.3.2

详情介绍:

Toggles human and machine language (aka ID-s) on admin pages. Only for development! This plugin shows you the ID-s of almost all form fields including selects, checkboxes and radio buttons like in wp-admin/options.php. It works only on WordPress Settings API-like formatted — not necessarily API generated — admin pages. E.g. <input> elements cannot be wrapped in <span>. 激活 You can find the plugin's checkbox in standard Screen Options (upper right corner). This checkbox could be overwritten — thus hidden — by poorly written plugins. To restrict Machine Language to a certain admin page, copy this to your wp-config.php: define( 'MACHINE_LANGUAGE_HOOK', 'load-options-reading.php' ); For example this line causes to run only on Settings / Reading. 产品特点 Other notes 相关链接 Development goes on on GitHub.

安装:

This section describes how to install the plugin and get it working.
  1. Upload machine-language.php to the wp-content/mu-plugins/ or wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress (if you've chosen the plugins dir)

屏幕截图:

  • Setting / Reading with Machine Language turned on.

常见问题:

How can I inspect form fields not altered?

Even if your admin page is not generated by the Setting API you should output HTML like in WordPress Settings pages.

Should I use Machine Language in production?

No, you shouldn't.

更新日志:

0.3.2 0.3.1 0.3