File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -172,6 +172,18 @@ public function plugin_deactivation_warning() {
172
172
* constant it is not possible to update any plugin.
173
173
*/
174
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
+
175
187
$ plugins = get_site_transient ( 'update_plugins ' );
176
188
177
189
if ( isset ( $ plugins ->response ) && is_array ( $ plugins ->response ) ) {
You can’t perform that action at this time.
0 commit comments