summaryrefslogtreecommitdiffstats
path: root/wp-inst/wp-admin/execute-pings.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-11-07 09:22:04 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-11-07 09:22:04 +0000
commit2deb7ed927ba4f38c7920e1d0fb82a85edc031fd (patch)
tree6e3f9b353a79a10e67602b88be98a274bcc8dfe0 /wp-inst/wp-admin/execute-pings.php
parent99532e55fc2d3de5c265bc36976664d1eedbe2ea (diff)
downloadwordpress-mu-2deb7ed927ba4f38c7920e1d0fb82a85edc031fd.tar.gz
wordpress-mu-2deb7ed927ba4f38c7920e1d0fb82a85edc031fd.tar.xz
wordpress-mu-2deb7ed927ba4f38c7920e1d0fb82a85edc031fd.zip
Massive WP Merge
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@417 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-admin/execute-pings.php')
-rw-r--r--wp-inst/wp-admin/execute-pings.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-inst/wp-admin/execute-pings.php b/wp-inst/wp-admin/execute-pings.php
index 5a4288a..6dc575f 100644
--- a/wp-inst/wp-admin/execute-pings.php
+++ b/wp-inst/wp-admin/execute-pings.php
@@ -27,7 +27,7 @@ function execute_all_pings() {
}
}
// Do Trackbacks
- if($trackbacks = $wpdb->get_results("SELECT ID FROM $wpdb->posts WHERE TRIM(to_ping) != ''")) {
+ if($trackbacks = $wpdb->get_results("SELECT ID FROM $wpdb->posts WHERE TRIM(to_ping) != '' AND post_status != 'draft'")) {
foreach($trackbacks as $trackback) {
//echo "trackback : $trackback->ID<br/>";
do_trackbacks($trackback->ID);