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

GlotPress noreply at wordpress.org
Tue Jun 10 14:59:48 UTC 2014

#249: Filter routes can't be used by a plugin
  Reporter:  markoheijnen  |      Owner:
      Type:  defect        |     Status:  new
  Priority:  normal        |  Milestone:  1.0
 Component:  General       |    Version:
Resolution:                |   Keywords:

Comment (by markoheijnen):

 The filter doesn't work since plugins aren't loaded yet. So no way to hook
 into it.

 Also GP::$router->add() will not work since it adds it as last item in the
 array and not first. So you then  always need to remove the parent urls,
 add your items and then re-add the removed parent urls.

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

More information about the glotpress-updates mailing list