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

GlotPress noreply at wordpress.org
Mon Jun 8 21:19:47 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:
---------------------------+--------------------------
Changes (by markoheijnen):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 I have thinking about how this should work. In the short future I want to
 disable all manipulation to $urls. This means the following:

 - $urls will be private
 - filter "routes" will be deleted and replaced with an action
 - Method added like akirk provided {{{array() + $urls}}}

 In my opinion this doesn't break backwards compatibility since $urls was
 never defined as a var and because of that shouldn't be used (bad coding).
 Also GlotPress never had an official release.

 If in the future we want to change how we store it, then we can do it
 because the implementation is hidden.
 I will create a patch and at WordCamp Europe it will be discussed.

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


More information about the glotpress-updates mailing list