[wp-trac] [WordPress Trac] #59818: [PHP 8.1] deprecated null in `explode()` for 'ping_sites' in `wp-admin/options-writing.php` with "Discourage search engines" on

WordPress Trac noreply at wordpress.org
Sun Jan 21 06:17:19 UTC 2024


#59818: [PHP 8.1] deprecated null in `explode()` for 'ping_sites' in `wp-admin
/options-writing.php` with "Discourage search engines" on
-----------------------------+--------------------------------
 Reporter:  kitchin          |       Owner:  SergeyBiryukov
     Type:  defect (bug)     |      Status:  accepted
 Priority:  normal           |   Milestone:  6.5
Component:  Administration   |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  php81 has-patch  |     Focuses:  php-compatibility
-----------------------------+--------------------------------

Comment (by kitchin):

 STR:
 1. Drop all tables. Delete all files in public_html.
 2. wget https://wordpress.org/nightly-builds/wordpress-latest.zip
 3. unzip wordpress-latest.zip
 4. Move files and upload wp-config.php, with `define('WP_DEBUG', true );`
 5. Visit /wp-admin to install. Check "Discourage search engines" and
 install.
 6. Login and go to Settings / Writing.
 7. Click Save Changes.

 Depending on your PHP settings, you will see the error on the screen
 and/or in `wp-admin/error_log`.

 WordPress 6.5-alpha-57320
 Linux 4.18... x86_64
 PHP 8.2...

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59818#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list