Recent commits aim to prepare the codebase for PHP 8.4. Key updates include modifying the wp_trigger_error() function to throw a WP_Exception when E_USER_ERROR is the error level, instead of using trigger_error(). This change is less disruptive and maintains error-handling functionality. Additional adjustments include fixing

3m read timeFrom make.wordpress.org
Post cover image
Table of contents
Fix trigger_error() with E_USER_ERROR deprecation in wp_trigger_error().Why not use WP_Error ?
1 Comment

Sort: