[glotpress-updates] [GlotPress] #211: Relying on glob()'s sorting is not reliable.

GlotPress noreply at wordpress.org
Wed Oct 31 00:08:39 UTC 2012


#211: Relying on glob()'s sorting is not reliable.
--------------------------+-------------------------
  Reporter:  markjaquith  |      Owner:  nacin
      Type:  defect       |     Status:  closed
  Priority:  critical     |  Milestone:  1.0
 Component:  general      |    Version:
Resolution:  fixed        |   Keywords:  needs-patch
--------------------------+-------------------------
Changes (by nacin):

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


Comment:

 (In [715]) Don't use glob() for files we know about in gp-settings.php.

 glob() will return files in any order it pleases, which can cause
 problems when a parent class must be loaded before its children.

 fixes #211.

-- 
Ticket URL: </ticket/211#comment:5>
GlotPress <http://trac.glotpress.org>
Easy comin', easy goin'


More information about the glotpress-updates mailing list