Plugins: HTTP Request Control
- Log HTTP Requests
- WP HTTP Blocklist: BeAPI/wp-http-blocklist: Block unwanted HTTP requests with a blacklist
Block all HTTP requests
https://gist.github.com/logichub/ef4bc9fc5961ba1c634a
https://core.trac.wordpress.org/ticket/52428#comment:1
https://gist.github.com/nullvariable/56eab9ab40d9fa1f7acc4b1b6e6327e9
or
define( ‘WP_HTTP_BLOCK_EXTERNAL’, true );
define( ‘WP_ACCESSIBLE_HOSTS’, ‘api.wordpress.org,*.github.com’ );
add_action('_admin_init', function () { global $pagenow; if (in_array($pagenow, [‘plugins.php’, ‘plugin-install.php’, ‘themes.php’, ‘update.php’, ‘index.php’, ‘admin.php’, ‘update-core.php’])) { add_filter(‘pre_http_request’, ‘__return_false’, 100); } else { add_filter(‘pre_http_request’, ‘__return_true’, 100); } }, 1);
- bueltge/wp-offline Offline Mode for WordPress; deactivate auto-update for core, plugins, themes, and HTTP calls. Also, it replaces all instances of Gravatar services with an empty value.
Meinetanne je imao problem sa brojem Update-check-ova koje mlate pluginovi i core
Odlično
-
GitHub - cliffordp/tk-exclude-vcs-updates: Exclude plugins whose folders contain a VCS directory from appearing in the list of updates. Local Development / afragen/local-development