WordPress.org

Make WordPress Core

Changeset 5732


Ignore:
Timestamp:
06/19/2007 10:42:19 PM (14 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

    r5731 r5732  
    11501150    global $wpdb;
    11511151
    1152     $protected = array( '_wp_attached_file', '_wp_attachment_metadata', '_wp_old_slug' );
     1152    $protected = array( '_wp_attached_file', '_wp_attachment_metadata', '_wp_old_slug', '_wp_page_template' );
    11531153
    11541154    if ( in_array($mkey, $protected) )
Note: See TracChangeset for help on using the changeset viewer.