devgeniem/wp-core-blocker

Disables WP from contacting wp.org servers and disables users from installing anything in wp-admin.

Installs: 81 035

Dependents: 2

Suggesters: 0

Security: 0

Stars: 5

Watchers: 10

Forks: 66

Type:wordpress-muplugin

2.0.0 2021-08-04 13:25 UTC

README

geniem-github-banner

WP Plugin: WP Core Blocker

Build Status Latest Stable Version Total Downloads Latest Unstable Version License

History

This is fork from excellent work from norcross/airplane-mode. We needed something to help local development and to disable all core update checks from production servers.

Installation

Preferred installation way is with composer:

$ composer require devgeniem/wp-core-blocker

About

This plugin is meant for composer driven sites. It helps you to force installing/updating stuff only through composer or cli. It also blocks WordPress core from connecting to wp.org servers to make site faster and not to fail under local development with poor internet connection.

Current Actions

  • disables installing plugins and themes
  • disables admin dashboard WP news widget
  • disables all WP update checks for core, translations, themes, and plugins
  • define('WP_CORE_BLOCKER_DISABLE_GRAVATAR',true) replaces all instances of Gravatar with a local image to remove external call

Changelog

See CHANGES.md.

Roadmap

  • Disable all connections which cause errors without internet connections so that we can use whoops in local development without annoying errors.

Credits

License

MIT

Contributing

Pull requests are very much welcome and encouraged.

Maintainers

@onnimonni

@villepietarinen