【发布时间】:2017-08-06 19:12:40
【问题描述】:
我有一个 WordPress 插件,我根据自己的需要进行了修改。当我将它推送到站点时,它会在有新的更新覆盖我的更改时自动更新。我想断开它与 WordPress 插件目录的连接,以便它停止更新。我需要更改哪些功能?
<?php
/**
* The plugin bootstrap file
*
* This file is read by WordPress to generate the plugin information in the plugin
* admin area. This file also includes all of the dependencies used by the plugin,
* registers the activation and deactivation functions, and defines a function
* that starts the plugin.
*
* @link http://www.acekyd.com
* @since 1.0.0
* @package Display_Medium_Posts
*
* @wordpress-plugin
* Plugin Name: Display Medium Posts
* Plugin URI: https://github.com/acekyd/display-medium-posts
* Description: Display Medium Posts is a wordpress plugin that allows users display posts from medium.com on any part of their website.
* Version: 3.0
* Author: AceKYD
* Author URI: http://www.acekyd.com
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Text Domain: display-medium-posts
* Domain Path: /languages
*/
?>
【问题讨论】: