From 3a724fcf81130d0f5c68bebc1104702d252bb29b Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 26 Sep 2014 20:54:18 +0000 Subject: [PATCH] Use correct i18n function after [29768]. props TobiasBg. fixes #29751. Built from https://develop.svn.wordpress.org/trunk@29769 git-svn-id: http://core.svn.wordpress.org/trunk@29541 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/script-loader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php index 87a8416ce6..15c1dd0722 100644 --- a/wp-includes/script-loader.php +++ b/wp-includes/script-loader.php @@ -534,7 +534,7 @@ function wp_default_scripts( &$scripts ) { // Navigation Menus $scripts->add( 'nav-menu', "/wp-admin/js/nav-menu$suffix.js", array( 'jquery-ui-sortable', 'jquery-ui-draggable', 'jquery-ui-droppable', 'wp-lists', 'postbox' ) ); did_action( 'init' ) && $scripts->localize( 'nav-menu', 'navMenuL10n', array( - 'noResultsFound' => _x( 'No results found.' ), + 'noResultsFound' => __( 'No results found.' ), 'warnDeleteMenu' => __( "You are about to permanently delete this menu. \n 'Cancel' to stop, 'OK' to delete." ), 'saveAlert' => __( 'The changes you made will be lost if you navigate away from this page.' ), 'untitled' => _x( '(no label)', 'missing menu item navigation label' )