summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/modules/contact-form/admin.php')
-rw-r--r--plugins/jetpack/modules/contact-form/admin.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/jetpack/modules/contact-form/admin.php b/plugins/jetpack/modules/contact-form/admin.php
index e09730a3..90acdde4 100644
--- a/plugins/jetpack/modules/contact-form/admin.php
+++ b/plugins/jetpack/modules/contact-form/admin.php
@@ -244,7 +244,7 @@ add_filter( 'views_edit-feedback', 'grunion_admin_view_tabs' );
function grunion_admin_view_tabs( $views ) {
global $current_screen;
if ( 'edit-feedback' != $current_screen->id )
- return $actions;
+ return $views;
unset( $views['publish'] );
@@ -873,7 +873,7 @@ function grunion_recheck_queue() {
if ( $is_spam ) {
wp_update_post( array( 'ID' => $feedback->ID, 'post_status' => 'spam' ) );
/** This action is already documented in modules/contact-form/admin.php */
- do_action( 'contact_form_akismet', 'spam', $akismet_values );
+ do_action( 'contact_form_akismet', 'spam', $meta );
}
}