Changeset 9103 for trunk/wp-admin/post.php
- Timestamp:
- 10/08/2008 11:32:34 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/post.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/post.php
r8995 r9103 87 87 case 'post-quickpress-publish': 88 88 case 'post-quickpress-save': 89 case 'post-quickpress-save-cont':90 89 check_admin_referer('add-post'); 91 90 … … 105 104 } 106 105 107 if ( 'post-quickpress-save-cont' != $action &&0 === strpos( $action, 'post-quickpress' ) ) {106 if ( 0 === strpos( $action, 'post-quickpress' ) ) { 108 107 $_POST['post_ID'] = $post_ID; 109 108 // output the quickpress dashboard widget 110 109 require_once(ABSPATH . 'wp-admin/includes/dashboard.php'); 111 add_filter( 'wp_dashboard_widgets', create_function( '$a', 'return array( "dashboard_quick_press" );' ) ); 112 wp_dashboard_setup(); 113 wp_dashboard(); 110 wp_dashboard_quick_press(); 114 111 exit; 115 112 }
Note: See TracChangeset
for help on using the changeset viewer.