summaryrefslogtreecommitdiffstats
path: root/wp-inst/wp-includes/functions-post.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-09-12 09:56:20 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-09-12 09:56:20 +0000
commit08c5d92c5e2b3f41b2067a4f18a878eb7a6d461d (patch)
treea1bfc6794fd6391ab18cde2be9ab7d5fdb53a8f4 /wp-inst/wp-includes/functions-post.php
parentaa61097b2b86ec542ce29cc169f7686f555fb79c (diff)
downloadwordpress-mu-08c5d92c5e2b3f41b2067a4f18a878eb7a6d461d.tar.gz
wordpress-mu-08c5d92c5e2b3f41b2067a4f18a878eb7a6d461d.tar.xz
wordpress-mu-08c5d92c5e2b3f41b2067a4f18a878eb7a6d461d.zip
WP Merge
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@310 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-includes/functions-post.php')
-rw-r--r--wp-inst/wp-includes/functions-post.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-inst/wp-includes/functions-post.php b/wp-inst/wp-includes/functions-post.php
index e5ddbfd..b0167dd 100644
--- a/wp-inst/wp-includes/functions-post.php
+++ b/wp-inst/wp-includes/functions-post.php
@@ -154,7 +154,7 @@ function wp_insert_post($postarr = array()) {
if ($post_status == 'publish') {
do_action('publish_post', $post_ID);
- if ($post_pingback)
+ if ($post_pingback && !defined('WP_IMPORTING'))
$result = $wpdb->query("
INSERT INTO $wpdb->postmeta
(post_id,meta_key,meta_value)