[wp-trac] [WordPress Trac] #25631: Fix strict notices in POMO library

WordPress Trac noreply at wordpress.org
Fri Nov 29 17:30:56 UTC 2013


#25631: Fix strict notices in POMO library
--------------------------+------------------
 Reporter:  markoheijnen  |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  3.8
Component:  I18N          |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------

Comment (by SergeyBiryukov):

 The `set_headers()` changes are not necessary after [23357].

 I think we should just create `PO` instances, like we do in
 [source:tags/3.7.1/tests/phpunit/tests/pomo/mo.php#L5 Tests_POMO_MO],
 instead of calling the methods statically. See [attachment:25631.patch].

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25631#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list