Ticket #8713: 8713.post-page.patch
File 8713.post-page.patch, 1.7 KB (added by , 16 years ago) |
---|
-
wp-admin/edit-page-form.php
18 18 19 19 if ( isset($_GET['message']) ) 20 20 $_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 page</a>.' ), attribute_escape( stripslashes( get_permalink($post_ID) ) )); 22 22 $messages[2] = __('Custom field updated.'); 23 23 $messages[3] = __('Custom field deleted.'); 24 24 $messages[4] = __('Page updated.'); -
wp-admin/edit-form-advanced.php
16 16 $action = isset($action) ? $action : ''; 17 17 if ( isset($_GET['message']) ) 18 18 $_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( __( 'Post updated. Continue editing below, or <a href="%s">view post</a>.' ), attribute_escape( stripslashes( get_permalink($post_ID) ) )); 20 20 $messages[2] = __('Custom field updated.'); 21 21 $messages[3] = __('Custom field deleted.'); 22 22 $messages[4] = __('Post updated.');