Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Filter calls '__return_zero' function directly in stead of its name #15

Merged
merged 1 commit into from

2 participants

@barryceelen

No description provided.

@bueltge bueltge merged commit b5bd8ed into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  remove-comments-absolute.php
View
2  remove-comments-absolute.php
@@ -183,7 +183,7 @@ public function remove_comments() {
// int values
foreach ( array( 'comments_notify', 'default_pingback_flag' ) as $option ) {
- add_filter( 'pre_option_' . $option, __return_zero() );
+ add_filter( 'pre_option_' . $option, '__return_zero' );
//update_option( $option, 1 );
}
// string false
Something went wrong with that request. Please try again.