[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 Dec 27 01:05:45 UTC 2023
#60059: Warning / Error in wp-includes/canonical.php when $_GET['author'] is an
array
---------------------------------------------+-----------------------------
Reporter: david.binda | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: Canonical | Version: trunk
Severity: normal | Resolution:
Keywords: needs-testing reporter-feedback | Focuses:
---------------------------------------------+-----------------------------
Comment (by azaozz):
Makes sense to check for and ignore arrays there but don't seem to be able
to reproduce this (in trunk). Unless I'm missing something it seems a non-
scalar query value for `author` is ignored and `is_author()` returns
false. See: https://core.trac.wordpress.org/browser/tags/6.4.2/src/wp-
includes/class-wp-query.php#L825.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60059#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list