[wp-trac] [WordPress Trac] #58234: sanitize_title_with_dashes fatal error when query var value is an array in php 8

WordPress Trac noreply at wordpress.org
Tue Aug 8 15:30:52 UTC 2023


#58234: sanitize_title_with_dashes fatal error when query var value is an array in
php 8
----------------------------------------------+----------------------------
 Reporter:  mouhdev                           |       Owner:  (none)
     Type:  defect (bug)                      |      Status:  new
 Priority:  normal                            |   Milestone:  Awaiting
                                              |  Review
Component:  Query                             |     Version:
 Severity:  normal                            |  Resolution:
 Keywords:  has-patch needs-unit-tests php80  |     Focuses:
----------------------------------------------+----------------------------
Changes (by hellofromTonya):

 * version:  6.2 =>


Comment:

 I removed 6.2 as the `Version` as the PHP Warning (on < PHP8) or Fatal
 Error (on >= PHP 8.0) happens on WordPress versions older than 6.2.

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


More information about the wp-trac mailing list