Ticket #1577: functions-posts.patch
| File functions-posts.patch, 803 bytes (added by skippy, 7 years ago) |
|---|
-
functions-post.php
157 157 } 158 158 159 159 if ($post_status == 'publish') { 160 do_action('publish_post', $post_ID); 160 if ($post_date > current_time('mysql')) { 161 do_action('future_post', $post_ID); 162 } else { 163 do_action('publish_post', $post_ID); 164 } 161 165 if ($post_pingback && !defined('WP_IMPORTING')) 162 166 $result = $wpdb->query(" 163 167 INSERT INTO $wpdb->postmeta … … 165 169 VALUES ('$post_ID','_pingme','1') 166 170 "); 167 171 if ( !defined('WP_IMPORTING') ) 168 $result = $wpdb->query("172 $result = $wpdb->query(" 169 173 INSERT INTO $wpdb->postmeta 170 174 (post_id,meta_key,meta_value) 171 175 VALUES ('$post_ID','_encloseme','1')
