[wp-trac] [WordPress Trac] #10912: Complete the rewrite API

WordPress Trac wp-trac at lists.automattic.com
Thu Oct 8 08:42:39 UTC 2009


#10912: Complete the rewrite API
-------------------------+--------------------------------------------------
 Reporter:  scribu       |       Owner:  ryan     
     Type:  enhancement  |      Status:  new      
 Priority:  normal       |   Milestone:  2.9      
Component:  Permalinks   |     Version:  2.9      
 Severity:  normal       |    Keywords:  has-patch
-------------------------+--------------------------------------------------

Comment(by hakre):

 Something that popped in my mind somewhere in the last day(s):

 These functions fail if the global $wp_rewrite is either not set or
 contains the wrong object then the function expects. Checks should be
 added in those and in all the other global functions that are part of the
 rewrite API.

 This is common in other public function in trunk as far as I remember.

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


More information about the wp-trac mailing list