定制 devgeniem/wp-core-blocker 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

devgeniem/wp-core-blocker

最新稳定版本:2.0.1

Composer 安装命令:

composer require devgeniem/wp-core-blocker

包简介

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

README 文档

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

统计信息

  • 总下载量: 87.02k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 6
  • 点击次数: 1
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 6
  • Watchers: 8
  • Forks: 67
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-08-25