Make WordPress Core

Changeset 3539


Ignore:
Timestamp:
02/17/2006 01:09:40 AM (18 years ago)
Author:
ryan
Message:

Add post_content_filtered to insert and update in wp_insert_attachment(). Props bungeman. fixes #2457

File:
1 edited

Legend:

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

    r3525 r3539  
    313313            post_date_gmt = '$post_date_gmt',
    314314            post_content = '$post_content',
     315            post_content_filtered = '$post_content_filtered',
    315316            post_title = '$post_title',
    316317            post_excerpt = '$post_excerpt',
     
    333334        $wpdb->query(
    334335            "INSERT INTO $wpdb->posts
    335             (post_author, post_date, post_date_gmt, post_content, 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, post_mime_type, guid)
     336            (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, post_mime_type, guid)
    336337            VALUES
    337             ('$post_author', '$post_date', '$post_date_gmt', '$post_content', '$post_title', '$post_excerpt', '$post_status', '$post_type', '$comment_status', '$ping_status', '$post_password', '$post_name', '$to_ping', '$pinged', '$post_date', '$post_date_gmt', '$post_parent', '$menu_order', '$post_mime_type', '$guid')");
     338            ('$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_date', '$post_date_gmt', '$post_parent', '$menu_order', '$post_mime_type', '$guid')");
    338339            $post_ID = $wpdb->insert_id;
    339340    }
Note: See TracChangeset for help on using the changeset viewer.