[wp-trac] [WordPress Trac] #20905: Allow rewrite endpoints to specify a different query variable name

WordPress Trac wp-trac at lists.automattic.com
Mon Jun 11 13:55:34 UTC 2012


#20905: Allow rewrite endpoints to specify a different query variable name
-------------------------+------------------------------
 Reporter:  johnbillion  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Permalinks   |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------------------
Changes (by johnbillion):

 * keywords:   => has-patch


Comment:

 Patch which adds an optional third parameter to `add_rewrite_endpoint()`
 for specifying the name of the corresponding query variable. Defaults to
 the endpoint name.

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


More information about the wp-trac mailing list