Don't use `<strong>` in translatable string in `wp-admin/includes/nav-menu.php`.

Add translator commment.

Props ramiy.
Fixes #34500.
Built from https://develop.svn.wordpress.org/trunk@35444


git-svn-id: http://core.svn.wordpress.org/trunk@35408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2015-10-30 01:37:24 +00:00
parent bfbd9e3ec3
commit 2920285225
2 changed files with 10 additions and 4 deletions

View File

@ -899,10 +899,16 @@ function wp_get_nav_menu_to_edit( $menu_id = 0 ) {
*/
$walker_class_name = apply_filters( 'wp_edit_nav_menu_walker', 'Walker_Nav_Menu_Edit', $menu_id );
if ( class_exists( $walker_class_name, false ) )
if ( class_exists( $walker_class_name, false ) ) {
$walker = new $walker_class_name;
else
return new WP_Error( 'menu_walker_not_exist', sprintf( __('The Walker class named <strong>%s</strong> does not exist.'), $walker_class_name ) );
} else {
return new WP_Error( 'menu_walker_not_exist',
/* translators: %s: walker class name */
sprintf( __( 'The Walker class named %s does not exist.' ),
'<strong>' . $walker_class_name . '</strong>'
)
);
}
$some_pending_menu_items = $some_invalid_menu_items = false;
foreach ( (array) $menu_items as $menu_item ) {

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.4-beta2-35443';
$wp_version = '4.4-beta2-35444';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.