mirror of
git://develop.git.wordpress.org/
synced 2025-02-24 08:33:35 +01:00
Add "View page" link in the status notice after a page has been updated
git-svn-id: https://develop.svn.wordpress.org/trunk@10996 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f9007b9ac8
commit
d57b05e3ab
@ -21,7 +21,7 @@ if ( isset($_GET['message']) )
|
||||
$messages[1] = sprintf( __( 'Page updated. Continue editing below or <a href="%s">go back</a>.' ), attribute_escape( stripslashes( ( isset( $_GET['_wp_original_http_referer'] ) ? $_GET['_wp_original_http_referer'] : '') ) ) );
|
||||
$messages[2] = __('Custom field updated.');
|
||||
$messages[3] = __('Custom field deleted.');
|
||||
$messages[4] = __('Page updated.');
|
||||
$messages[4] = sprintf(__('Page updated. <a href="%s">View page</a>'), get_permalink($post_ID));
|
||||
$messages[5] = sprintf(__('Page published. <a href="%s">View page</a>'), get_permalink($post_ID));
|
||||
$messages[6] = sprintf(__('Page submitted. <a href="%s">Preview page</a>'), add_query_arg( 'preview', 'true', get_permalink($post_ID) ) );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user