PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 16.3-a.1
Jetpack – WP Security, Backup, Speed, & Growth v16.3-a.1
16.3-a.3 16.3-a.1 16.2 16.2-beta 12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 13.7.2 13.8.3 13.9.2 14.0.1 All 504 releases
← All changes | class.jetpack-network-sites-list-table.php +5 -2 12.7.316.3-a.1 View file →
@@ -4,8 +4,12 @@
4 4 *
5 5 * @package automattic/jetpack
6 6 */
7 7
8 +if ( ! defined( 'ABSPATH' ) ) {
9 + exit( 0 );
10 +}
11 +
8 12 if ( ! class_exists( 'WP_List_Table' ) ) {
9 13 require_once ABSPATH . 'wp-admin/includes/class-wp-list-table.php';
10 14 }
11 15
@@ -117,9 +121,9 @@
117 121
118 122 switch_to_blog( $item->blog_id );
119 123
120 124 // Checks for both the stock version of Jetpack and the one managed by the Jetpack Beta Plugin.
121 - if ( ! is_plugin_active( 'jetpack/jetpack.php' ) && ! is_plugin_active( 'jetpack-dev/jetpack.php' ) ) {
125 + if ( ! is_plugin_active( 'jetpack/jetpack.php' ) && ! is_plugin_active( 'jetpack-dev/jetpack.php' ) && ! array_key_exists( 'jetpack.php', get_mu_plugins() ) ) {
122 126 $title = __( 'Jetpack is not active on this site.', 'jetpack' );
123 127 $action = array(
124 128 'manage-plugins' => '<a href="' . get_admin_url( $item->blog_id, 'plugins.php', 'admin' ) . '">' . __( 'Manage Plugins', 'jetpack' ) . '</a>',
125 129 );
@@ -181,9 +185,8 @@
181 185 /**
182 186 * Process bulk actions.
183 187 */
184 188 public function process_bulk_action() {
185 - // phpcs:ignore WordPress.Security.NonceVerification.Missing -- Check if we have anything to do before checking the nonce.
186 189 if ( empty( $_POST['bulk'] ) ) {
187 190 return; // Thou shall not pass! There is nothing to do.
188 191 }
189 192