Make WordPress Core

Ticket #8713: 8713.post.patch

File 8713.post.patch, 1.0 KB (added by bingorabbit, 16 years ago)

For the Edit Posts page.

  • wp-admin/edit-form-advanced.php

     
    1616$action = isset($action) ? $action : '';
    1717if ( isset($_GET['message']) )
    1818        $_GET['message'] = absint( $_GET['message'] );
    19 $messages[1] = sprintf( __( 'Post 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'] : '') ) ) );
     19$messages[1] = sprintf( __( 'Page updated. Continue editing below, <a href="%s">go back</a> or <a href="%s">view post</a>.' ), attribute_escape( stripslashes( ( isset( $_GET['_wp_original_http_referer'] ) ? $_GET['_wp_original_http_referer'] : '') ) ),  attribute_escape( stripslashes( get_permalink($post_ID) ) ));
    2020$messages[2] = __('Custom field updated.');
    2121$messages[3] = __('Custom field deleted.');
    2222$messages[4] = __('Post updated.');