ACF Detailed Escaping Debug Logger
A WordPress plugin to enable debug error logging whenever ACF will modify or remove potentially unsafe when using the shortcode, the_field or the_sub_field
by Liam Gladdy · github.com/lgladdy/acf-escaping-debug-plugin · website
★ 13stars
1forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/lgladdy/acf-escaping-debug-plugin/archive/refs/heads/main.zipFrom the readme
ACF Escaping Debug Plugin
In ACF 6.2.5, the plugin began warning users whenever it detected the value being output was not correctly escaped when using the ACF shortcode, thefield or thesubfield
In ACF 6.2.7 due for release in February 2024, ACF will automatically begin escaping the value when thefield or thesubfield is used.
ACF will show a warning notice in WordPress admin for this detection, but for performance reasons this notice is limited to the name of the field, it's selector used to output the value, and the function called.
This plugin extends that default logging to output a more detailed version whenever it is detected. The output is sent to the PHP error log via errorlog.
This plugin should not be used on production, as it has potential to generate a log of error log messages.
Example Output:
Read the full README on GitHub →
Releases
| Tag | Published |
|---|---|
| v1.0.0 | Jan 19, 2024 |
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.