Created
July 22, 2025 17:11
-
-
Save drzraf/4ff75a755907195cb286e4128b582d25 to your computer and use it in GitHub Desktop.
stop some WordPress plugins home-phoning all the time
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sed -i '/public static function get_key_info/s/{$/{ return ["is_active"=>1];/' plugins/gravityforms/common.php | |
| sed -i '/function acf_register_plugin_update/s/{$/{ return;/' plugins/advanced-custom-fields-pro/includes/Updater/init.php | |
| // WPML, you're next |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment