From a83a250ee0e9b397d3e37c5ae5ed7d5c5f8f793f Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 30 Oct 2015 01:17:26 +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@35442 git-svn-id: http://core.svn.wordpress.org/trunk@35406 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/nav-menu.php | 7 ++++++- wp-includes/version.php | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/nav-menu.php b/wp-admin/includes/nav-menu.php index b2c70d6873..625edaf5ae 100644 --- a/wp-admin/includes/nav-menu.php +++ b/wp-admin/includes/nav-menu.php @@ -1043,7 +1043,12 @@ function wp_nav_menu_update_menu_items ( $nav_menu_selected_id, $nav_menu_select /** This action is documented in wp-includes/nav-menu.php */ do_action( 'wp_update_nav_menu', $nav_menu_selected_id ); - $messages[] = '

' . sprintf( __( '%1$s has been updated.' ), $nav_menu_selected_title ) . '

'; + $messages[] = '

' . + /* translators: %s: nav menu title */ + sprintf( __( '%s has been updated.' ), + '' . $nav_menu_selected_title . '' + ) . '

'; + unset( $menu_items, $unsorted_menu_items ); return $messages; diff --git a/wp-includes/version.php b/wp-includes/version.php index ff77a9e2bc..a0c60cf0e5 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-beta2-35441'; +$wp_version = '4.4-beta2-35442'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.