Make WordPress Core

Changeset 31315


Ignore:
Timestamp:
01/31/2015 08:27:16 PM (10 years ago)
Author:
ocean90
Message:

i18n tools: Exclude wp-includes/class-pop3.php in wp_frontend().

The external library uses the underscore alias for the native gettext() function. Makepot extracts these strings too, which results in having 25 unused translations.

fixes #31179.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/i18n/makepot.php

    r31314 r31315  
    248248            'project' => 'wp-frontend', 'output' => $output,
    249249            'includes' => array(),
    250             'excludes' => array( 'wp-admin/.*', 'wp-content/themes/.*' ),
     250            'excludes' => array( 'wp-admin/.*', 'wp-content/themes/.*', 'wp-includes/class-pop3\.php' ),
    251251            'default_output' => 'wordpress.pot',
    252252        ) );
Note: See TracChangeset for help on using the changeset viewer.