Make WordPress Core

Ticket #8713: 8713.patch

File 8713.patch, 818 bytes (added by bingorabbit, 16 years ago)

Instead of Go Back and pointing to the referring URL after editing the page, it now says View it and points to the page's URL.

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

     
    1818
    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>.' ), attribute_escape( stripslashes( ( isset( $_GET['_wp_original_http_referer'] ) ? $_GET['_wp_original_http_referer'] : '') ) ) );
     21$messages[1] = sprintf( __( 'Page updated. Continue editing below or <a href="%s">view it</a>.' ), attribute_escape( stripslashes( get_permalink($post_ID) ) ) );
    2222$messages[2] = __('Custom field updated.');
    2323$messages[3] = __('Custom field deleted.');
    2424$messages[4] = __('Page updated.');