Make WordPress Core


Ignore:
Timestamp:
08/13/2008 05:53:48 AM (17 years ago)
Author:
westi
Message:

Give plugins the ability to do extra processing on a post before it is inserted/updated. See #5196.

File:
1 edited

Legend:

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

    r8600 r8635  
    14291429    // expected_slashed (everything!)
    14301430    $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' ) );
     1431    $data = apply_filters('wp_insert_post', $data, $postarr);
    14311432    $data = stripslashes_deep( $data );
    14321433    $where = array( 'ID' => $post_ID );
Note: See TracChangeset for help on using the changeset viewer.