Hi, I need to make sure my error messsages don't spit out an error message that shows the server directory structure, so making a generalized error message would be ideal.
I tried fiddling with /wp-includes/class-wp-error.php but I couldn't get it to work.
I've put example codes from tutorials at the bottom of my functions.php file but it just spits the new error message out in my header even though nothing else has been modified.
I'm somewhat of a beginner with PHP, please help!!
thanks so much