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.

git-svn-id: https://develop.svn.wordpress.org/trunk@31315 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dominik Schilling (ocean90) 2015-01-31 20:27:16 +00:00
parent 125897c70e
commit 606c88fe75
1 changed files with 1 additions and 1 deletions

View File

@ -247,7 +247,7 @@ class MakePOT {
return $this->wp_generic( $dir, array(
'project' => 'wp-frontend', 'output' => $output,
'includes' => array(),
'excludes' => array( 'wp-admin/.*', 'wp-content/themes/.*' ),
'excludes' => array( 'wp-admin/.*', 'wp-content/themes/.*', 'wp-includes/class-pop3\.php' ),
'default_output' => 'wordpress.pot',
) );
}