Changeset 3285 for trunk/wp-includes/functions-post.php
- Timestamp:
- 12/10/2005 11:22:47 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/functions-post.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions-post.php
r3277 r3285 85 85 else 86 86 $to_ping = ''; 87 87 88 if ( ! isset($pinged) ) 89 $pinged = ''; 90 88 91 if ( isset($post_parent) ) 89 92 $post_parent = (int) $post_parent; … … 124 127 post_date_gmt = '$post_date_gmt', 125 128 post_content = '$post_content', 129 post_content_filtered = '$post_content_filtered', 126 130 post_title = '$post_title', 127 131 post_excerpt = '$post_excerpt', … … 132 136 post_name = '$post_name', 133 137 to_ping = '$to_ping', 138 pinged = '$pinged', 134 139 post_modified = '$post_date', 135 140 post_modified_gmt = '$post_date_gmt', … … 140 145 $wpdb->query( 141 146 "INSERT INTO $wpdb->posts 142 (post_author, post_date, post_date_gmt, post_content, post_ title, post_excerpt, post_status, comment_status, ping_status, post_password, post_name, to_ping, post_modified, post_modified_gmt, post_parent, menu_order, post_mime_type)147 (post_author, post_date, post_date_gmt, post_content, post_content_filtered, post_title, post_excerpt, post_status, comment_status, ping_status, post_password, post_name, to_ping, pinged, post_modified, post_modified_gmt, post_parent, menu_order, post_mime_type) 143 148 VALUES 144 ('$post_author', '$post_date', '$post_date_gmt', '$post_content', '$post_ title', '$post_excerpt', '$post_status', '$comment_status', '$ping_status', '$post_password', '$post_name', '$to_ping', '$post_date', '$post_date_gmt', '$post_parent', '$menu_order', '$post_mime_type')");149 ('$post_author', '$post_date', '$post_date_gmt', '$post_content', '$post_content_filtered', '$post_title', '$post_excerpt', '$post_status', '$comment_status', '$ping_status', '$post_password', '$post_name', '$to_ping', '$pinged', '$post_date', '$post_date_gmt', '$post_parent', '$menu_order', '$post_mime_type')"); 145 150 $post_ID = $wpdb->insert_id; 146 151 }
Note: See TracChangeset
for help on using the changeset viewer.