summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Chatzimichos <tampakrap@gentoo.org>2013-10-03 21:53:38 +0200
committerTheo Chatzimichos <tampakrap@gentoo.org>2013-10-03 21:53:38 +0200
commit61f7269ffabd11b7de56507c69191be42d7cfa60 (patch)
tree2ad81bec8d0c124019b23c841d80882c303801bc /plugins/jetpack/modules/after-the-deadline/config-unignore.php
parentforgot to include new files of jetpack (diff)
downloadblogs-gentoo-61f7269ffabd11b7de56507c69191be42d7cfa60.tar.gz
blogs-gentoo-61f7269ffabd11b7de56507c69191be42d7cfa60.tar.bz2
blogs-gentoo-61f7269ffabd11b7de56507c69191be42d7cfa60.zip
update jetpack
Diffstat (limited to 'plugins/jetpack/modules/after-the-deadline/config-unignore.php')
-rw-r--r--plugins/jetpack/modules/after-the-deadline/config-unignore.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/jetpack/modules/after-the-deadline/config-unignore.php b/plugins/jetpack/modules/after-the-deadline/config-unignore.php
index 84b18ff6..d8394d7b 100644
--- a/plugins/jetpack/modules/after-the-deadline/config-unignore.php
+++ b/plugins/jetpack/modules/after-the-deadline/config-unignore.php
@@ -32,6 +32,9 @@ function AtD_process_unignore_update() {
if ( ! AtD_is_allowed() )
return;
+ if ( ! isset( $_POST['AtD_ignored_phrases'] ) )
+ return;
+
$user = wp_get_current_user();
if ( ! $user || $user->ID == 0 )