PHP 8.1 deprecated warning | WordPress.org

[ad_1]

With WordPress Beta Tester plugin activated the /wp-admin/index.php home dashboard gives a PHP 8.1 warning.

Deprecatedpreg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated

wp-includes/kses.php:1729
preg_replace()
wp-includes/kses.php:1729
wp_kses_no_null()
wp-includes/kses.php:752
wp_kses()
wp-includes/kses.php:2151
wp_kses_post()
wp-content/plugins/wordpress-beta-tester/src/WPBT/WP_Beta_Tester.php:301
WP_Beta_Tester->beta_tester_dashboard()
wp-admin/includes/template.php:1410
do_meta_boxes()
wp-admin/includes/dashboard.php:271
wp_dashboard()
wp-admin/index.php:203

If the plugin is not activated the warning is not thrown in home. Only some other places

Can the Tested up to: be bumped up also 😉 Thanks

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer