Linux 软件免费装
Banner图

Script Report

开发者 sapayth
更新时间 2026年3月6日 19:49
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

debug performance development scripts debug bar

下载

1.0.0 1.1.0

详情介绍:

Script Report is a minimal and focused debugging tool for WordPress developers. It helps you audit and visualize JavaScript and CSS dependencies on any admin or frontend page. When something loads out of order, loads twice, or slows down a page, Script Report helps you see exactly what is happening. Use the Script Report link in the admin navbar on any page to open a complete breakdown of scripts and styles, their load order, dependencies, and origin. You can also append ?script_report=true or &script_report=true to the URL.

安装:

  1. Upload the plugin files to wp-content/plugins/script-report/, or install through the WordPress Plugins screen.
  2. Activate the plugin through the Plugins screen.
  3. As an Administrator, click the Script Report link in the admin navbar on any page to view the report. You can also append ?script_report=true or &script_report=true to the URL.

屏幕截图:

  • List view showing scripts and styles with load order and metadata.
  • Tree view displaying dependency chains.
  • Script Report item in the top admin bar for quick access.

常见问题:

Who can see the report?

Users with the Administrator capability manage_options can open the report. You may also enable access in development environments by defining: define( 'SCRIPT_REPORT_DEBUG', true ); Do not enable this constant on production unless temporarily required.

Is it safe for production?

Yes. The report is only displayed to users who can manage_options, or when explicitly enabled using SCRIPT_REPORT_DEBUG. No data is stored and nothing runs unless you open the report (via the admin bar link or the URL parameter).

Does this affect site performance?

No. Script Report only runs when you open it (admin bar or URL). Normal visitors and pages remain unaffected.

更新日志:

1.1.0 1.0.0