Changeset 8480 for trunk/wp-includes/post.php
- Timestamp:
- 07/28/2008 11:58:24 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r8469 r8480 3114 3114 $fields = array( 3115 3115 'post_title' => __( 'Title' ), 3116 'post_author' => __( 'Author' ),3117 3116 'post_content' => __( 'Content' ), 3118 3117 'post_excerpt' => __( 'Excerpt' ), … … 3123 3122 3124 3123 // WP uses these internally either in versioning or elsewhere - they cannot be versioned 3125 foreach ( array( 'ID', 'post_name', 'post_parent', 'post_date', 'post_date_gmt', 'post_status', 'post_type', 'comment_count' ) as $protect )3124 foreach ( array( 'ID', 'post_name', 'post_parent', 'post_date', 'post_date_gmt', 'post_status', 'post_type', 'comment_count', 'post_author' ) as $protect ) 3126 3125 unset( $fields[$protect] ); 3127 3126 }
Note: See TracChangeset
for help on using the changeset viewer.