[glotpress-updates] [GlotPress] #249: Filter routes can't be used by a plugin

GlotPress noreply at wordpress.org
Wed Jun 10 16:06:34 UTC 2015


#249: Filter routes can't be used by a plugin
---------------------------+------------------------------
  Reporter:  markoheijnen  |      Owner:  markoheijnen
      Type:  defect        |     Status:  reopened
  Priority:  normal        |  Milestone:  1.0
 Component:  General       |    Version:
Resolution:                |   Keywords:  has-patch commit
---------------------------+------------------------------
Changes (by markoheijnen):

 * keywords:   => has-patch commit


Comment:

 Added a new patch to work towards a final solution:

 - $urls is private
 - filter {{{routes}}} has been deleted
 - Added action {{{router_default_routes_set}}} which is called after
 default routes are set.
 - Added the method {{{prepend}}} to add a route as first.

 I was thinking to rename the new method to {{{add}}} and that the current
 {{{add}}} method becomes {{{append}}}.

--
Ticket URL: <https://glotpress.trac.wordpress.org/ticket/249#comment:21>
GlotPress <https://glotpress.trac.wordpress.org>
Easy comin', easy goin'


More information about the glotpress-updates mailing list