[wp-trac] [WordPress Trac] #19871: add_rewrite_tag() should take same params as WP_Rewrite::add_rewrite_tag()

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 25 22:48:26 UTC 2012


#19871: add_rewrite_tag() should take same params as WP_Rewrite::add_rewrite_tag()
---------------------------+---------------------
 Reporter:  duck_          |       Owner:  duck_
     Type:  enhancement    |      Status:  closed
 Priority:  normal         |   Milestone:  3.4
Component:  Rewrite Rules  |     Version:  2.1
 Severity:  normal         |  Resolution:  fixed
 Keywords:  has-patch      |
---------------------------+---------------------
Changes (by duck_):

 * owner:   => duck_
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [19756]:
 {{{
 #!CommitTicketReference repository="" revision="19756"
 Add the $query parameter to add_rewrite_tag() so that it matches
 WP_Rewrite::add_rewrite_tag(). Fixes #19871.

 Also rename some other parameters so that they all match.
 }}}

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


More information about the wp-trac mailing list