[wp-trac] [WordPress Trac] #10710: parse_request() of WP should set empty query variables when appropriate

WordPress Trac wp-trac at lists.automattic.com
Tue Jul 20 19:00:56 UTC 2010


#10710: parse_request() of WP should set empty query variables when appropriate
--------------------------+-------------------------------------------------
 Reporter:  filosofo      |       Owner:  filosofo       
     Type:  defect (bug)  |      Status:  accepted       
 Priority:  normal        |   Milestone:  3.1            
Component:  Permalinks    |     Version:  2.9            
 Severity:  normal        |    Keywords:  has-patch early
--------------------------+-------------------------------------------------

Comment(by filosofo):

 Another reason for this is that when endpoint rewrite rules are generated,
 they explicitly allow for empty endpoint values (see line 1289ff of `wp-
 includes/rewrite.php`).

 So WP rewrite is writing checks that WP query can't cash.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10710#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list