Truth Spine proof: WordPress.org says WP_DEBUG and other debug tools are not recommended on live sites Problem: The WordPress error log can be read by anyone. Truth Spine record I-0125: https://ursy.com/truth-spine/I-0125/ Caption. WordPress.org says WP_DEBUG and the other debug tools are not recommended on live sites, so a public debug log should not be there. Truth Spine record I-0125. What this picture proves. The problem is 'The WordPress error log can be read by anyone'. WordPress.org's 'Debugging in WordPress' handbook page says "It is not recommended to use WP_DEBUG or the other debug tools on live sites", because they are meant for local testing and staging. A public debug log on a live site is one of those debug tools left switched on, which backs the problem. What the picture shows. At the top is a pale grey address strip with small dark text 'URSY.com saved copy · read 2026-12-01'; under it a white rounded bar holds https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/ inside a thin red rectangle. Below is the saved handbook page on white. The left third is empty white space; the text runs in one wide column on the right. The page starts mid-section with 'WP_DEBUG is a PHP constant...'; 'WP_DEBUG' and other code words are small monospace on light grey pills, and 'wp-config.php' is a blue underlined link. Two light grey code panels with thin grey borders hold monospace code: '// This enables debugging.' and "define( 'WP_DEBUG', true );", then '// This disables debugging.' and "define( 'WP_DEBUG', false );". A paragraph starting with bold 'Note' explains true and false values. The next paragraph begins with the boxed words: a thin red rectangle runs from 'It is not recommended to use' through the grey monospace 'WP_DEBUG' to 'or the other debug tools on live sites', ending just before the semicolon; the rest of the line, 'they are meant for local testing and', and 'staging installs.' sit outside the box. Below are the bold black headings 'PHP Errors, Warnings, and Notices' and 'Custom PHP Debugging' with dark grey sans-serif paragraphs; the last line, mentioning the monospace 'error_log' function, runs into the label at the bottom. The label is a light blue band with a blue top line; on the left a grey line 'Website problem · Security and HTTPS · official source: WordPress.org', the title 'The WordPress error log can be read by anyone' in large bold navy type and 'Source and record: ursy.com/truth-spine/I-0125/' in bold blue; on the right a royal blue rounded badge 'URSY.com / TRUTH SPINE / FACT RECORD I-0125' in white; and along the bottom 'Every fact on URSY.com is recorded with its source in the URSY.com Truth Spine. Explore them all at ursy.com/truth-spine'. The red outline: address strip, round the source address: "https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/"; paragraph under the 'Note', first line, from the left edge to just before the semicolon: "It is not recommended to use WP_DEBUG or the other debug tools on live sites" Printed lines, in reading order: - URSY.com saved copy · read 2026-12-01 - https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/ - WP_DEBUG is a PHP constant (a permanent global variable) that can be used to trigger the “debug” mode throughout - WordPress. It is assumed to be false by default, and is usually set to true in the wp-config.php file on development - copies of WordPress. - // This enables debugging. - define( 'WP_DEBUG', true ); - // This disables debugging. - define( 'WP_DEBUG', false ); - Note: The true and false values in the example are not surrounded by apostrophes (') because they are boolean - (true/false) values. If you set constants to 'false', they will be interpreted as true because the quotes make it a - string rather than a boolean. - It is not recommended to use WP_DEBUG or the other debug tools on live sites (boxed in red) - ; they are meant for local testing and staging installs. - PHP Errors, Warnings, and Notices - Enabling WP_DEBUG will cause all PHP errors, notices, and warnings to be displayed. This is likely to modify the - default behavior of PHP, which only displays fatal errors or shows a white screen of death when errors are reached. - Showing all PHP notices and warnings often results in error messages for things that don’t seem broken, but do not - follow proper data validation conventions inside PHP. These warnings are easy to fix once the relevant code has - been identified, and the resulting code is almost always more bug-resistant and easier to maintain. - Custom PHP Debugging - If it is necessary to log non-error information for debugging purposes, PHP does offer the error_log function for this - Website problem · Security and HTTPS · official source: WordPress.org - The WordPress error log can be read by anyone - Source and record: ursy.com/truth-spine/I-0125/ - URSY.com TRUTH SPINE FACT RECORD I-0125 - Every fact on URSY.com is recorded with its source in the URSY.com Truth Spine. Explore them all at ursy.com/truth-spine Where it came from. - Source: WordPress.org, "Debugging in WordPress": https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/ - Saved by URSY.com on 1 December 2026 (sha256 3ecbe1a4f1bb3b802c70b2f8cbadeebe09bdf6eed91ca75509687e019b608445). - Look for public archive copies (a search, not a copy saved by URSY.com): https://web.archive.org/web/2026*/https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/ The problem, explained, with how to fix it: https://ursy.com/issues/wordpress-debug-log-public/ Every fact on URSY.com is recorded with its source in the URSY.com Truth Spine: https://ursy.com/truth-spine/ URSY.com - www.ursy.com