diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index 085fabca32..bc435ebf3f 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -25,7 +25,7 @@ if ( isset($_GET['message']) ) { switch ( $_GET['message'] ) { case 1: - $message = sprintf( __('Post updated. View post'), get_permalink($post_ID) ); + $message = sprintf( __('Post updated. View post'), get_permalink($post_ID) ); break; case 2: $message = __('Custom field updated.'); @@ -41,7 +41,7 @@ if ( isset($_GET['message']) ) { $message = sprintf( __('Post restored to revision from %s'), wp_post_revision_title( (int) $_GET['revision'], false ) ); break; case 6: - $message = sprintf( __('Post published. View post'), get_permalink($post_ID) ); + $message = sprintf( __('Post published. View post'), get_permalink($post_ID) ); break; case 7: $message = __('Post saved.'); diff --git a/wp-admin/edit-page-form.php b/wp-admin/edit-page-form.php index 79420164f5..d031db4aa7 100644 --- a/wp-admin/edit-page-form.php +++ b/wp-admin/edit-page-form.php @@ -26,7 +26,7 @@ if ( isset($_GET['message']) ) { switch ( $_GET['message'] ) { case 1: - $message = sprintf( __('Page updated. View page'), get_permalink($post_ID) ); + $message = sprintf( __('Page updated. View page'), get_permalink($post_ID) ); break; case 2: $message = __('Custom field updated.'); @@ -35,7 +35,7 @@ if ( isset($_GET['message']) ) { $message = __('Custom field deleted.'); break; case 4: - $message = sprintf( __('Page published. View page'), get_permalink($post_ID) ); + $message = sprintf( __('Page published. View page'), get_permalink($post_ID) ); break; case 5: if ( isset($_GET['revision']) )