WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/02/2009 09:44:09 PM (12 years ago)
Author:
ryan
Message:

Clean up save mssage. see #8713

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-page-form.php

    r11149 r11159  
    1919if ( isset($_GET['message']) )
    2020    $_GET['message'] = absint( $_GET['message'] );
    21 $messages[1] = sprintf( __( 'Page updated. Continue editing below or <a href="%s">go back</a>.' ), attr( stripslashes( ( isset( $_GET['_wp_original_http_referer'] ) ? $_GET['_wp_original_http_referer'] : '') ) ) );
     21$messages[1] = sprintf(__('Page updated. <a href="%s">View page</a>'), get_permalink($post_ID));
    2222$messages[2] = __('Custom field updated.');
    2323$messages[3] = __('Custom field deleted.');
    24 $messages[4] = sprintf(__('Page updated. <a href="%s">View page</a>'), get_permalink($post_ID));
    2524$messages[5] = sprintf(__('Page published. <a href="%s">View page</a>'), get_permalink($post_ID));
    2625$messages[6] = sprintf(__('Page submitted. <a href="%s">Preview page</a>'), add_query_arg( 'preview', 'true', get_permalink($post_ID) ) );
Note: See TracChangeset for help on using the changeset viewer.