• 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 https://core.trac.www.ads-software.com/ticket/57578#ticket

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

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP 8.1 deprecated warning’ is closed to new replies.