Changeset 5733
- Timestamp:
- 06/19/2007 10:42:25 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/post.php
r5723 r5733 337 337 $post_ID = (int) $post_ID; 338 338 339 $protected = array( '_wp_attached_file', '_wp_attachment_metadata', '_wp_old_slug' );339 $protected = array( '_wp_attached_file', '_wp_attachment_metadata', '_wp_old_slug', '_wp_page_template' ); 340 340 341 341 $metakeyselect = $wpdb->escape( stripslashes( trim( $_POST['metakeyselect'] ) ) ); … … 412 412 global $wpdb; 413 413 414 $protected = array( '_wp_attached_file', '_wp_attachment_metadata', '_wp_old_slug' );414 $protected = array( '_wp_attached_file', '_wp_attachment_metadata', '_wp_old_slug', '_wp_page_template' ); 415 415 416 416 if ( in_array($mkey, $protected) )
Note: See TracChangeset
for help on using the changeset viewer.