Hello,
i got an error that my debug file is publicly accessible, so i tried to find a solution and i found this code
/**
* For developers: WordPress debugging mode.
*
* Change this to true to enable the display of notices during development.
* It is strongly recommended that plugin and theme developers use WP_DEBUG
* in their development environments.
*
* For information on other constants that can be used for debugging,
* visit the Codex.
*
* @link https://codex.wordpress.org/Debugging_in_WordPress
*/
// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );
// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );
// Disable display of errors and warnings
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );
so i add it but i still can access the debug file do i need to delete it after i apply this code ?
and when i check debug file i found this[22-Sep-2020 11:15:02 UTC] PHP Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /home/site/public_html/wp-includes/functions.php on line 4669