WordPress.org

Make WordPress Core

Changeset 18367


Ignore:
Timestamp:
06/28/2011 09:46:18 PM (7 years ago)
Author:
ryan
Message:

Unset filter when inserting/updating posts. For trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post.php

    r18352 r18367  
    24312431
    24322432    $postarr = wp_parse_args($postarr, $defaults);
     2433
     2434    unset( $postarr[ 'filter' ] );
     2435
    24332436    $postarr = sanitize_post($postarr, 'db');
    24342437
     
    36123615        $object['post_parent'] = $parent;
    36133616
     3617    unset( $object[ 'filter' ] );
     3618
    36143619    $object = sanitize_post($object, 'db');
    36153620
Note: See TracChangeset for help on using the changeset viewer.