[wp-trac] [WordPress Trac] #25143: Appending registered query vars to home URL sets is_home to true when should be false
WordPress Trac
noreply at wordpress.org
Thu Oct 16 10:55:37 UTC 2014
#25143: Appending registered query vars to home URL sets is_home to true when
should be false
------------------------------------------+-----------------------------
Reporter: mordauk | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Future Release
Component: Query | Version: 3.6
Severity: normal | Resolution:
Keywords: needs-patch needs-unit-tests | Focuses:
------------------------------------------+-----------------------------
Comment (by dyspersion):
After a cursory look, seems to me like you wouldn't ever want to register
a query_var unless it will definitely impact the DB query, and further,
the prance down the template hierarchy. Otherwise, if it's just an HTTP
GET variable, then I wouldn't think you would ever want/need to register
it to WP as something that WP needs to know about.
Are you saying that not registering the ref var still negatively affects
your add_rewrite_endpoint?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/25143#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list