[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 Sep 1 02:33:43 UTC 2009


#10710: parse_request() of WP should set empty query variables when appropriate
--------------------------+-------------------------------------------------
 Reporter:  filosofo      |       Owner:  ryan                   
     Type:  defect (bug)  |      Status:  new                    
 Priority:  normal        |   Milestone:  2.9                    
Component:  Permalinks    |     Version:  2.9                    
 Severity:  normal        |    Keywords:  has-patch parse_request
--------------------------+-------------------------------------------------
 As [http://lists.automattic.com/pipermail/wp-
 hackers/2009-August/027396.html scribu points out], if a custom query
 variable is empty it remains unset.

 Patch changes the empty check on permalink variables to an isset check.

 This shouldn't affect core query variables, because it seems as though
 they're eventually all set even when empty.

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


More information about the wp-trac mailing list