[glotpress-updates] [GlotPress] #275: Modify original properties on import

GlotPress noreply at wordpress.org
Wed Dec 4 17:29:55 UTC 2013


#275: Modify original properties on import
--------------------------+-----------------------
  Reporter:  nbachiyski   |      Owner:
      Type:  enhancement  |     Status:  new
  Priority:  normal       |  Milestone:
 Component:  general      |    Version:
Resolution:               |   Keywords:  has-patch
--------------------------+-----------------------

Comment (by nbachiyski):

 In [changeset:"822"]:
 {{{
 #!CommitTicketReference repository="" revision="822"
 Better handling of priority values when normalizing them, props yoavf

 Before, we were assuming if priority was a string, it was a priority name.
 In the case of a string like '0' this is not true.

 Now we switched to `is_numeric`, which is what we need.

 Also, this commits adds few tests and some error value checks.

 See #275.
 }}}

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


More information about the glotpress-updates mailing list