Changeset 27630
- Timestamp:
- 03/20/2014 01:30:49 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/post.php
r26995 r27630 107 107 $nonce = $_REQUEST['_wpnonce']; 108 108 $error_msg = false; 109 110 // For output of the quickdraft dashboard widget 111 require_once ABSPATH . 'wp-admin/includes/dashboard.php'; 112 109 113 if ( ! wp_verify_nonce( $nonce, 'add-post' ) ) 110 114 $error_msg = __( 'Unable to submit this form, please refresh and try again.' ); … … 123 127 124 128 edit_post(); 125 // output the quickdraft dashboard widget126 require_once(ABSPATH . 'wp-admin/includes/dashboard.php');127 129 wp_dashboard_quick_press(); 128 130 exit;
Note: See TracChangeset
for help on using the changeset viewer.