Issues (71)

disable-checking-updates-for-plugins.php (2 issues)

1
<?php
2
3
/*
4
 * Plugin Name: Disable checking for plugin updates
5
 * Plugin URI:  https://github.com/pothi/wordpress-mu-plugins
6
 * Version:     0.1
7
 * Description: Disable checking for plugin updates while browsing through WP dashboard
8
 * Author:      Pothi Kalimuthu
9
 * Author URI:  http://pothi.info
10
 * License:     GPL
11
 */
12
13
remove_action( 'load-plugins.php', 'wp_update_plugins' );
0 ignored issues
show
The function remove_action was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

13
/** @scrutinizer ignore-call */ 
14
remove_action( 'load-plugins.php', 'wp_update_plugins' );
Loading history...
14
remove_action( 'load-update.php', 'wp_update_plugins' );
15
remove_action( 'admin_init', '_maybe_update_plugins' );
16
remove_action( 'wp_update_plugins', 'wp_update_plugins' );
17
remove_action( 'load-update-core.php', 'wp_update_plugins' );
18
19
add_filter( 'pre_transient_update_plugins', '__return_zero' );
0 ignored issues
show
The function add_filter was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

19
/** @scrutinizer ignore-call */ 
20
add_filter( 'pre_transient_update_plugins', '__return_zero' );
Loading history...
20
add_filter( 'pre_site_transient_update_plugins', '__return_zero' );
21