Changeset 10257
- Timestamp:
- 12/26/2008 10:36:48 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.7/wp-admin/includes/post.php
r10214 r10257 229 229 $post_data = &$_POST; 230 230 231 if ( 'page' == $post_data['post_type'] ) {231 if ( isset($post_data['post_type']) && 'page' == $post_data['post_type'] ) { 232 232 if ( ! current_user_can( 'edit_pages' ) ) 233 233 wp_die( __('You are not allowed to edit pages.') ); … … 237 237 } 238 238 239 $post_IDs = array_map( intval, (array) $post_data['post'] );239 $post_IDs = array_map( 'intval', (array) $post_data['post'] ); 240 240 241 241 $reset = array( 'post_author', 'post_status', 'post_password', 'post_parent', 'page_template', 'comment_status', 'ping_status', 'keep_private', 'tags_input', 'post_category', 'sticky' );
Note: See TracChangeset
for help on using the changeset viewer.