Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.42k stars 1.99k forks source link

AMP: Walks the blog network and clean up things left behind by AMP #64845

Open p-jackson opened 2 years ago

p-jackson commented 2 years ago

Details

When the AMP plugin is removed from a standalone WordPress site it uses the amp_deactivate() function to tidy up after itself when the plugin gets deactivated.

For the simple sites where AMP has been deprecated, they don't get this opportunity to do cleanup. We should write a script that walks the blog network and does cleanup.

Rationale: pdKhl6-na-p2

Checklist

vindl commented 1 year ago

Moving this from Hold to Low priority. See https://github.com/Automattic/wp-calypso/issues/64004#issuecomment-1340880743 for more details.