Docs: Update plugin headers example in `get_plugin_data()` to clarify that `Version` is not a required field.
Props casiepa. See #47110, #meta4707. Built from https://develop.svn.wordpress.org/trunk@45916 git-svn-id: http://core.svn.wordpress.org/trunk@45727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
640c90d35d
commit
3f048f5ace
|
@ -15,14 +15,14 @@
|
||||||
* and the same goes for the plugin data. The below is formatted for printing.
|
* and the same goes for the plugin data. The below is formatted for printing.
|
||||||
*
|
*
|
||||||
* /*
|
* /*
|
||||||
* Plugin Name: Name of Plugin
|
* Plugin Name: Name of the plugin.
|
||||||
* Plugin URI: Link to plugin information
|
* Plugin URI: The home page of the plugin.
|
||||||
* Description: Plugin Description
|
* Description: Plugin description.
|
||||||
* Author: Plugin author's name
|
* Author: Plugin author's name.
|
||||||
* Author URI: Link to the author's web site
|
* Author URI: Link to the author's website.
|
||||||
* Version: Must be set in the plugin for WordPress 2.3+
|
* Version: Plugin version.
|
||||||
* Text Domain: Optional. Unique identifier, should be same as the one used in
|
* Text Domain: Optional. Unique identifier, should be same as the one used in
|
||||||
* load_plugin_textdomain()
|
* load_plugin_textdomain().
|
||||||
* Domain Path: Optional. Only useful if the translations are located in a
|
* Domain Path: Optional. Only useful if the translations are located in a
|
||||||
* folder above the plugin's base path. For example, if .mo files are
|
* folder above the plugin's base path. For example, if .mo files are
|
||||||
* located in the locale folder then Domain Path will be "/locale/" and
|
* located in the locale folder then Domain Path will be "/locale/" and
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.3-alpha-45915';
|
$wp_version = '5.3-alpha-45916';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue