Changeset 32650 for trunk/src/wp-includes/revision.php
- Timestamp:
- 05/29/2015 03:42:40 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/revision.php
r32621 r32650 17 17 * @access private 18 18 * 19 * @staticvar array |false$fields19 * @staticvar array $fields 20 20 * 21 21 * @param array $post Optional. A post array to be processed for insertion as a post revision. … … 24 24 */ 25 25 function _wp_post_revision_fields( $post = null, $autosave = false ) { 26 static $fields = false;27 28 if ( !$fields) {26 static $fields = null; 27 28 if ( is_null( $fields ) ) { 29 29 // Allow these to be versioned 30 30 $fields = array(
Note: See TracChangeset
for help on using the changeset viewer.