Don't use `<code>` in translation strings in `wp-admin/includes/plugin.php`.
Props ramiy. Fixes #31856. Built from https://develop.svn.wordpress.org/trunk@34314 git-svn-id: http://core.svn.wordpress.org/trunk@34278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
622d4bd029
commit
d1bdd59183
|
@ -89,7 +89,8 @@ function get_plugin_data( $plugin_file, $markup = true, $translate = true ) {
|
|||
|
||||
// Site Wide Only is the old header for Network
|
||||
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'] = ( 'true' == strtolower( $plugin_data['Network'] ) );
|
||||
|
@ -1955,4 +1956,4 @@ function wp_clean_plugins_cache( $clear_update_cache = true ) {
|
|||
function plugin_sandbox_scrape( $plugin ) {
|
||||
wp_register_plugin_realpath( WP_PLUGIN_DIR . '/' . $plugin );
|
||||
include( WP_PLUGIN_DIR . '/' . $plugin );
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-alpha-34313';
|
||||
$wp_version = '4.4-alpha-34314';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue