Make WordPress Core

Changeset 18368


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

Unset filter when inserting/updating posts. For 3.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.1/wp-includes/post.php

    r18357 r18368  
    24112411
    24122412    $postarr = wp_parse_args($postarr, $defaults);
     2413
     2414    unset( $postarr[ 'filter' ] );
     2415
    24132416    $postarr = sanitize_post($postarr, 'db');
    24142417
     
    35853588        $object['post_parent'] = $parent;
    35863589
     3590    unset( $object[ 'filter' ] );
     3591
    35873592    $object = sanitize_post($object, 'db');
    35883593
Note: See TracChangeset for help on using the changeset viewer.