Changeset 15857
- Timestamp:
- 10/20/2010 09:58:21 AM (14 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/post.php
r14815 r15857 52 52 */ 53 53 function redirect_post($post_id = '') { 54 if ( !empty($_POST['mode']) && 'sidebar' == $_POST['mode'] ) { 55 if ( isset($_POST['saveasdraft']) ) 56 $location = 'sidebar.php?a=c'; 57 elseif ( isset($_POST['publish']) ) 58 $location = 'sidebar.php?a=b'; 59 } elseif ( isset($_POST['save']) || isset($_POST['publish']) ) { 54 if ( isset($_POST['save']) || isset($_POST['publish']) ) { 60 55 $status = get_post_status( $post_id ); 61 56
Note: See TracChangeset
for help on using the changeset viewer.