From 79fe9e8b2d039662fcf093afb35ca38baad4c262 Mon Sep 17 00:00:00 2001 From: Ron Rennick Date: Mon, 22 Feb 2010 17:48:50 +0000 Subject: [PATCH] add apostophes to custom menu update messages, See #11817 git-svn-id: https://develop.svn.wordpress.org/trunk@13294 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/custom-navigation.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-admin/custom-navigation.php b/wp-admin/custom-navigation.php index 28a52c810e..adce146c6e 100644 --- a/wp-admin/custom-navigation.php +++ b/wp-admin/custom-navigation.php @@ -81,7 +81,7 @@ function wp_custom_navigation() { if ( isset( $_POST['set_wp_menu'] ) ) { // @todo validate set_wp_menu update_option( 'wp_custom_nav_menu', $_POST['enable_wp_menu'] ); - $messagesdiv = '

'.$themename.'s Custom Menu has been updated!

'; + $messagesdiv = '

'.$themename."'s Custom Menu has been updated!

"; } if ( isset( $_POST['licount'] ) ) @@ -118,13 +118,13 @@ function wp_custom_navigation() { $success = wp_custom_nav_reset(); if ( $success ) { // DISPLAY SUCCESS MESSAGE IF Menu Reset Correctly - $messagesdiv = '

'.$themename.'s Custom Menu has been RESET!

'; + $messagesdiv = '

'.$themename."'s Custom Menu has been RESET!

"; // GET reset menu id $custom_menus = array(); $menu_selected_id = 0; } else { // DISPLAY SUCCESS MESSAGE IF Menu Reset Correctly - $messagesdiv = '

'.$themename.'s Custom Menu could not be RESET. Please try again.

'; + $messagesdiv = '

'.$themename."'s Custom Menu could not be RESET. Please try again.

"; } } elseif ( $postCounter > 0 && $menu_selected_id > 0 ) { $menu_objects = get_objects_in_term( $menu_selected_id, 'nav_menu' ); @@ -173,7 +173,7 @@ function wp_custom_navigation() { } } // DISPLAY SUCCESS MESSAGE IF POST CORRECT - $messagesdiv = '

'.$themename.'s Custom Menu has been updated!

'; + $messagesdiv = '

'.$themename."'s Custom Menu has been updated!

"; } //DISPLAY Custom Navigation