[wp-trac] [WordPress Trac] #35499: Add the ability to parse a whole directory with add-textdomain.php

WordPress Trac noreply at wordpress.org
Sat Feb 20 21:05:57 UTC 2016


#35499: Add the ability to parse a whole directory with add-textdomain.php
------------------------------+----------------------------
 Reporter:  iamntz            |       Owner:  ocean90
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  WordPress.org
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch         |     Focuses:
------------------------------+----------------------------
Changes (by ocean90):

 * keywords:  has-patch needs-testing => has-patch
 * milestone:  Future Release => WordPress.org


Comment:

 Thanks @iamntz. Adjusted the code a bit because `SplFileInfo`
 (http://php.net/manual/en/class.splfileinfo.php) includes the extension
 already. Take also a look at our [https://make.wordpress.org/core/handbook
 /best-practices/coding-standards/php/ coding standards].

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35499#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list