WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #16778, comment 69


Ignore:
Timestamp:
12/07/2016 05:19:34 PM (4 years ago)
Author:
Otto42
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16778, comment 69

    initial v1  
    44add_action( 'wp_version_check', 'falsify_user_blog_count', 1 );
    55function falsify_user_blog_count() {
    6         add_action( 'pre_site_option_blog_count', '__return_zero' );
    7         add_action( 'pre_site_option_user_count', '__return_zero' );
     6        add_filter( 'pre_site_option_blog_count', '__return_zero' );
     7        add_filter( 'pre_site_option_user_count', '__return_zero' );
    88}
    99}}}