Make WordPress Core

Changeset 8702


Ignore:
Timestamp:
08/21/2008 06:31:35 PM (16 years ago)
Author:
ryan
Message:

Rename wp_insert_post filter to wp_insert_post_data to avoid collision. see #5196

File:
1 edited

Legend:

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

    r8675 r8702  
    14201420    // expected_slashed (everything!)
    14211421    $data = compact( array( 'post_author', 'post_date', 'post_date_gmt', 'post_content', 'post_content_filtered', 'post_title', 'post_excerpt', 'post_status', 'post_type', 'comment_status', 'ping_status', 'post_password', 'post_name', 'to_ping', 'pinged', 'post_modified', 'post_modified_gmt', 'post_parent', 'menu_order', 'guid' ) );
    1422     $data = apply_filters('wp_insert_post', $data, $postarr);
     1422    $data = apply_filters('wp_insert_post_data', $data, $postarr);
    14231423    $data = stripslashes_deep( $data );
    14241424    $where = array( 'ID' => $post_ID );
Note: See TracChangeset for help on using the changeset viewer.