aboutsummaryrefslogtreecommitdiffstats
path: root/util/wp
diff options
context:
space:
mode:
Diffstat (limited to 'util/wp')
-rw-r--r--util/wp/post_to_red/post_to_red.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/wp/post_to_red/post_to_red.php b/util/wp/post_to_red/post_to_red.php
index 55177238d..427e0f5e2 100644
--- a/util/wp/post_to_red/post_to_red.php
+++ b/util/wp/post_to_red/post_to_red.php
@@ -119,7 +119,7 @@ function post_to_red_delete_post($post_id) {
$post = get_post($post_id);
// if meta has been set
- if (get_post_meta($post_id, "post_to_red", true) == '1') {
+ if ((get_post_meta($post_id, "post_to_red", true) == '1') || (get_post_meta($post_id, "post_from_red", true) == '1')) {
$user_name = post_to_red_get_acct_name();
$password = post_to_red_get_password();