Graceful error-handling required for production si
WordPress needs graceful error-handling if it’s going to be implemented on production sites. As it stands, if I use WP code just to display headlines on my front page, and the database is unavailable for any reason, or there’s any kind of PHP problem, I get a page full of PHP errors, rather than the main content of my page, simply sans the headlines.
Simply put, if WordPress display code fails for ANY reason, I want to have it return a null string, or better yet, the string of my choosing.
This is a requirement to use it on any kind of mission-critical site.
- The topic ‘Graceful error-handling required for production si’ is closed to new replies.