From 2920285225b3d8420856a1cd855bfc68ba127bf1 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 30 Oct 2015 01:37:24 +0000 Subject: [PATCH] Don't use `` 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 --- wp-admin/includes/nav-menu.php | 12 +++++++++--- wp-includes/version.php | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/wp-admin/includes/nav-menu.php b/wp-admin/includes/nav-menu.php index 625edaf5ae..017d6258d2 100644 --- a/wp-admin/includes/nav-menu.php +++ b/wp-admin/includes/nav-menu.php @@ -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 %s 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.' ), + '' . $walker_class_name . '' + ) + ); + } $some_pending_menu_items = $some_invalid_menu_items = false; foreach ( (array) $menu_items as $menu_item ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index a97668282e..6fd937d6d6 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.