我目前正在开发一个私人WordPress插件,使用BoilerPlate作为基础,Plugin-update-checker进行自动更新(我的插件不在官方WordPress存储库中)。
现在,我有一个问题:WordPress没有读取我的README.txt
,当我想要进行更新时,它应该给我readme.txt的changelog部分。它应该给我这个:
== Changelog ==
= 1.0 =
* A change since the previous version.
* Another change.
= 0.5 =
* List versions from most recent at top to oldest at bottom.
问题是,这个readme.txt
和plugin-update-checker
的更新完全适用于我的其他插件,所以我现在真的迷失了。
这是我插件的标题:
<?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.mba-multimedia.com/
* @since 1.2
* @package Foo
* Plugin Name: Foobar
* Plugin URI: Foobar.com
* Version: 3.3
* Author: Test
* Author URI: www.Mysite.org
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Text Domain: Foo
* Domain Path: /languages
*/
告诉我你是否需要更多信息,对不起我的英语,谢谢。