[wp-trac] [WordPress Trac] #25398: Multiple WordPress URL Parameters Causes Undefined ID and Nicename Errors
WordPress Trac
noreply at wordpress.org
Sun May 4 22:18:43 UTC 2014
#25398: Multiple WordPress URL Parameters Causes Undefined ID and Nicename Errors
--------------------------+-----------------------
Reporter: chriscct7 | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 4.0
Component: Query | Version: 3.6.1
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+-----------------------
Changes (by wonderboymusic):
* keywords: has-patch 2nd-opinion => has-patch
* milestone: Future Release => 4.0
Comment:
Ah, I couldn't reproduce it because I was using `post_author` in the URL,
not `author`. This is a valid concern. Post Type always beats Author when
queried object is being determined. As such, we should avoid this notice
by not trying to set author name as the title when we are in fact on a
post type archive screen. The fact that author is in the path is
meaningless as to precedence.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/25398#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list