We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ed335dd + 0a7f6ac commit e58b1d4Copy full SHA for e58b1d4
includes/classes/Plugins/Plugins.php
@@ -172,6 +172,18 @@ public function plugin_deactivation_warning() {
172
* constant it is not possible to update any plugin.
173
*/
174
public function set_plugin_update_actions() {
175
+
176
+ /**
177
+ * VIP has it's own update notification system that performs this same logic.
178
+ *
179
+ * As such, if we're on a VIP environment, we should not run this logic.
180
181
+ * See: https://github.com/Automattic/vip-go-mu-plugins/blob/develop/codebase-manager/plugins/plugins-manager.php#L65-L77
182
+ */
183
+ if ( defined( 'VIP_GO_APP_ENVIRONMENT' ) ) {
184
+ return;
185
+ }
186
187
$plugins = get_site_transient( 'update_plugins' );
188
189
if ( isset( $plugins->response ) && is_array( $plugins->response ) ) {
0 commit comments