[wp-trac] [WordPress Trac] #60059: Warning / Error in wp-includes/canonical.php when $_GET['author'] is an array

WordPress Trac noreply at wordpress.org
Wed Jan 3 00:18:56 UTC 2024


#60059: Warning / Error in wp-includes/canonical.php when $_GET['author'] is an
array
--------------------------------------+-----------------------------
 Reporter:  david.binda               |       Owner:  SergeyBiryukov
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  6.5
Component:  Canonical                 |     Version:  trunk
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------------
Changes (by ironprogrammer):

 * keywords:  needs-testing reporter-feedback => has-patch has-unit-tests


Comment:

 Though this has already been merged (thanks, @davidbinda and
 @SergeyBiryukov!), I wanted to share separate confirmation that the patch
 addresses the issue.

 == Test Report
 Patch tested: attachment:60059.diff

 === Environment
 - Hardware: MacBook Pro Apple M1 Pro
 - OS: macOS 14.2.1
 - Browser: Safari 17.2.1
 - Server: nginx/1.25.3
 - PHP: 8.2.13
 - WordPress: 6.5-alpha-56966-src
 - Theme: twentytwentyfour v1.0

 === Actual Results
 - ✅ Viewing `/author/admin/?author[1]=hello` (or variations) does not
 produce errors outlined in ticket description.

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


More information about the wp-trac mailing list