[wp-trac] [WordPress Trac] #62828: Array should not be passed to get_page_by_path()

WordPress Trac noreply at wordpress.org
Wed Apr 23 15:17:34 UTC 2025


#62828: Array should not be passed to get_page_by_path()
--------------------------+------------------------------
 Reporter:  leedxw        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  6.7.2
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------

Comment (by leedxw):

 Just noting that this currently will produce a fatal error under php8.3
 and WordPress 6.8

 {{{
 $ wp option set permalink_structure '/%postname%/'
 $ wp rewrite flush
 $ curl -s -o /dev/null -w "%{http_code}\n" "http://localhost/hello-
 world/?year%5B%5D=2"
 500
 }}}

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


More information about the wp-trac mailing list