Don't use <code>
in translation strings in wp-admin/includes/plugin.php
.
Props ramiy. Fixes #31856. git-svn-id: https://develop.svn.wordpress.org/trunk@34314 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0c642e4730
commit
f5eacb71d6
@ -89,7 +89,8 @@ function get_plugin_data( $plugin_file, $markup = true, $translate = true ) {
|
|||||||
|
|
||||||
// Site Wide Only is the old header for Network
|
// Site Wide Only is the old header for Network
|
||||||
if ( ! $plugin_data['Network'] && $plugin_data['_sitewide'] ) {
|
if ( ! $plugin_data['Network'] && $plugin_data['_sitewide'] ) {
|
||||||
_deprecated_argument( __FUNCTION__, '3.0', sprintf( __( 'The <code>%1$s</code> plugin header is deprecated. Use <code>%2$s</code> instead.' ), 'Site Wide Only: true', 'Network: true' ) );
|
/* translators: 1: Site Wide Only: true, 2: Network: true */
|
||||||
|
_deprecated_argument( __FUNCTION__, '3.0', sprintf( __( 'The %1$s plugin header is deprecated. Use %2$s instead.' ), '<code>Site Wide Only: true</code>', '<code>Network: true</code>' ) );
|
||||||
$plugin_data['Network'] = $plugin_data['_sitewide'];
|
$plugin_data['Network'] = $plugin_data['_sitewide'];
|
||||||
}
|
}
|
||||||
$plugin_data['Network'] = ( 'true' == strtolower( $plugin_data['Network'] ) );
|
$plugin_data['Network'] = ( 'true' == strtolower( $plugin_data['Network'] ) );
|
||||||
|
Loading…
Reference in New Issue
Block a user