Changeset 8830 for trunk/wp-admin/post.php
- Timestamp:
- 09/05/2008 11:54:49 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/post.php
r8797 r8830 42 42 'message' => 1 43 43 ), get_edit_post_link( $post_ID, 'url' ) ); 44 else 45 $location = add_query_arg( 'message', 6, get_edit_post_link( $post_ID, 'url' ) ); 44 else { 45 if ( isset( $_POST['publish'] ) ) 46 $location = add_query_arg( 'message', 6, get_edit_post_link( $post_ID, 'url' ) ); 47 else 48 $location = add_query_arg( 'message', 7, get_edit_post_link( $post_ID, 'url' ) ); 49 } 46 50 } elseif (isset($_POST['addmeta']) && $_POST['addmeta']) { 47 51 $location = add_query_arg( 'message', 2, wp_get_referer() );
Note: See TracChangeset
for help on using the changeset viewer.