Safe Headers Scanner

Apraksts

Safe Headers Scanner helps WordPress administrators identify common issues that may cause header-related problems.
The plugin scans installed themes and plugins for:
* Unnecessary whitespace before <?php tags
* Extra whitespace after closing ?> tags
* Direct output (e.g., echo, print) before headers are sent

Results are displayed in a clear report, so you can review and fix potential issues easily.

Ekrānuzņēmumi

Uzstādīšana

  1. Upload the safe-headers-scanner folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to Tools > Safe Headers Scanner to scan your themes or plugins.

BUJ

Does this plugin automatically fix issues?

No. It only scans and reports possible issues. You need to manually review and fix them.

Will it slow down my website?

No. The scan only runs when you request it from the admin panel. It does not affect frontend performance.

Atsauksmes

Par šo spraudni nav atsauksmju.

Autori un izstrādātāji

“Safe Headers Scanner” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

Tulkot “Safe Headers Scanner&#8221 savā valodā.

Vai jūs interesē attīstība?

Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.

Izmaiņu žurnāls

1.0

  • Initial release.

1.1

  • Fixed path handling by replacing hardcoded WP_CONTENT_DIR references with get_theme_root() and WP_PLUGIN_DIR.
  • Improved asset handling by replacing inline and with wp_register_script(), wp_add_inline_script() and wp_add_inline_style().
  • Added explicit versioning for enqueued resources to comply with WordPress coding standards.

1.2

  • Replaced WP_PLUGIN_DIR with plugin_dir_path() for improved compatibility with non-standard WordPress setups.