[wp-trac] [WordPress Trac] #34197: Improve the parameter names and documentation for add_rewrite_rule()

WordPress Trac noreply at wordpress.org
Wed Oct 7 18:50:20 UTC 2015


#34197: Improve the parameter names and documentation for add_rewrite_rule()
---------------------------+-------------------
 Reporter:  johnbillion    |       Owner:
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  4.4
Component:  Rewrite Rules  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:  docs
---------------------------+-------------------
Changes (by johnbillion):

 * keywords:   => has-patch


Comment:

 [attachment:34197.diff] changes the name of the `$redirect` parameter to
 `$query`, which is more appropriate, and updates the documentation
 accordingly.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34197#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list