mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Plugins: In _get_plugin_data_markup_translate() remove the fallback to the "default" textdomain for Akismet.
Akismet has its own language files since WordPress 3.9. Props jrf. Fixes #35436. git-svn-id: https://develop.svn.wordpress.org/trunk@36283 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c86ffe454a
commit
2efcaf2921
@ -124,7 +124,7 @@ function _get_plugin_data_markup_translate( $plugin_file, $plugin_data, $markup
|
||||
load_plugin_textdomain( $textdomain, false, dirname( $plugin_file ) );
|
||||
}
|
||||
}
|
||||
} elseif ( in_array( basename( $plugin_file ), array( 'hello.php', 'akismet.php' ) ) ) {
|
||||
} elseif ( 'hello.php' == basename( $plugin_file ) ) {
|
||||
$textdomain = 'default';
|
||||
}
|
||||
if ( $textdomain ) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user