[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:58:41 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:
  reporter-feedback                              |
-------------------------------------------------+-------------------------

Comment (by hellofromTonya):

 Reviewed this ticket to determine if it is an incompatibility with PHP 8.0
 and should be listed in the known incompatibilities for WP 6.3.

 Findings: no, this is not seem to be an incompatibility with PHP 8.0. It
 might be a doing it wrong or potentially a case for further defensive
 coding. Thus, the `php-compatibility` focus should not be added to the
 ticket.

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


More information about the wp-trac mailing list