Changeset 12020 for trunk/wp-admin/post.php
- Timestamp:
- 10/11/2009 12:37:26 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/post.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/post.php
r12017 r12020 41 41 } elseif ( isset($_POST['save']) || isset($_POST['publish']) ) { 42 42 $status = get_post_status( $post_ID ); 43 $link = get_edit_post_link( $post_ID, 'url' );44 43 45 44 if ( isset( $_POST['publish'] ) ) { … … 58 57 } 59 58 60 $location = add_query_arg( 'message', $message, $link);59 $location = add_query_arg( 'message', $message, get_edit_post_link( $post_ID, 'url' ) ); 61 60 } elseif ( isset($_POST['addmeta']) && $_POST['addmeta'] ) { 62 61 $location = add_query_arg( 'message', 2, wp_get_referer() );
Note: See TracChangeset
for help on using the changeset viewer.