Changeset 10094 for trunk/wp-admin/post.php
- Timestamp:
- 12/07/2008 03:39:00 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/post.php
r9998 r10094 46 46 ), get_edit_post_link( $post_ID, 'url' ) ); 47 47 else { 48 if ( isset( $_POST['publish'] ) ) 49 $location = add_query_arg( 'message', 6, get_edit_post_link( $post_ID, 'url' ) ); 50 else 48 if ( isset( $_POST['publish'] ) ) { 49 if ( 'pending' == get_post_status( $post_ID ) ) 50 $location = add_query_arg( 'message', 8, get_edit_post_link( $post_ID, 'url' ) ); 51 else 52 $location = add_query_arg( 'message', 6, get_edit_post_link( $post_ID, 'url' ) ); 53 } else { 51 54 $location = add_query_arg( 'message', 7, get_edit_post_link( $post_ID, 'url' ) ); 55 } 52 56 } 53 57 } elseif (isset($_POST['addmeta']) && $_POST['addmeta']) {
Note:
See TracChangeset
for help on using the changeset viewer.