content-pilot/wp-plugin-update-checker 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

content-pilot/wp-plugin-update-checker

最新稳定版本:2.0.0

Composer 安装命令:

composer require content-pilot/wp-plugin-update-checker

包简介

Allow third-party, private plugins to be updated from GitHub

README 文档

README

Library to bootstrap plugin updates for third-party, private repositories if an access token is present. This class requires the Plugin Update Checker class v5 to be exist. Typically only included in CP Web Pilot to avoid conflict. Use the Debug Bar plugin to troubleshoot a proper connection.

Installation

Require this package in your composer.json

composer require content-pilot/wp-plugin-update-checker

Usage

Add the following snippets in your main plugin file.

use Content_Pilot\Wp_Plugin_Update_Checker\Bootstrap as Update;
public function __construct() {
    $this->run_update();
}
private function run_update() {
    $plugin_update = new Update( PLUGIN_NAME );
    $this->loader->add_action( 'plugins_loaded', $plugin_update, 'update_from_cloud', 10 );
}

Changelog

2.0.0
  • Require Plugin Update Checker 5
1.2.0
  • Change how license key is pulled from database
1.1.2
  • Remove the asset parameter so we grab the first asset on the release
1.1.1
  • Define the plugin path for the release asset
1.1.0
  • Enable release assets to grab the built version of the repository
1.0.1
  • Change plugin_dir_path to accomodate vendor directory nesting
  • Add README
  • Add CHANGELOG
1.0.0
  • Initial commit and release on Packagist

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-09-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固