WordPress.org

Make WordPress Core

Changeset 5731


Ignore:
Timestamp:
06/19/2007 10:40:59 PM (13 years ago)
Author:
ryan
Message:

Protect _wp_page_template too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/wp-admin/admin-functions.php

    r5724 r5731  
    11101110    $post_ID = (int) $post_ID;
    11111111
    1112     $protected = array( '_wp_attached_file', '_wp_attachment_metadata', '_wp_old_slug' );
     1112    $protected = array( '_wp_attached_file', '_wp_attachment_metadata', '_wp_old_slug', '_wp_page_template' );
    11131113
    11141114    $metakeyselect = $wpdb->escape( stripslashes( trim( $_POST['metakeyselect'] ) ) );
Note: See TracChangeset for help on using the changeset viewer.