WordPress icon indicating copy to clipboard operation
WordPress copied to clipboard

Disable WordPress Update Nag

Open ataylorme opened this issue 8 years ago • 3 comments

WordPress core updates should be applied from this upstream. Therefore we should disable the WordPress dashboard notification to update WordPress core from WordPress itself as doing so can cause merge conflicts.

Additionally we can add our own update notification and link to the documentation to update in the Pantheon dashboard from the WordPress dashboard.

ataylorme avatar Jul 05 '17 16:07 ataylorme

Additionally we can add our own update notification and link to the documentation to update in the Pantheon dashboard from the WordPress dashboard.

I think this should be done instead. Instead of disabling the nag, if the nag were replaced with a link to the Pantheon dashboard via the mu-plugin. The update screen likewise could link over to the dashboard instead of prompting to update inside WP, avoiding futile prompts for SSH credentials. Since auto-updates are not enabled on the platform, I think the nags are very much important and even moreso since minor releases cannot be automatically applied yet.

westonruter avatar Jul 05 '17 18:07 westonruter

@westonruter agreed. The current nag message is not filterable so I had to remove it and replace with our own.

See #126

ataylorme avatar Jul 05 '17 21:07 ataylorme

If I understand the nature of this issue it seems like an IoC which puts Pantheon at risk of a single point of failure should a critical patch release be issued. And what of custom upstreams?

With the WP mirror updating every 15 minutes it seems a Web hook could be used to automatically create pulls in versioned branches against this repo and the entire process automated yeah?

ghost avatar Jul 07 '17 00:07 ghost