我目前正在开发一个私有 WordPress 插件,使用BoilerPlate作为基础,使用Plugin-update-checker进行自动更新(我的插件不在官方 WordPress 存储库中)。
现在,我有一个问题:WordPress 不读取我的README.txt
,当我想要进行更新时,它应该给我我的 readme.txt 的更改日志部分。它应该给我这个:
== 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
*/
如果您需要更多信息,请告诉我,对不起我的英语,谢谢。