Changeset 52227 for trunk/src/wp-admin/includes/plugin.php
- Timestamp:
- 11/20/2021 02:21:15 AM (4 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/includes/plugin.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin.php
r52035 r52227 55 55 * 56 56 * @type string $Name Name of the plugin. Should be unique. 57 * @type string $Title Title of the plugin and link to the plugin's site (if set). 57 * @type string $PluginURI Plugin URI. 58 * @type string $Version Plugin version. 58 59 * @type string $Description Plugin description. 59 * @type string $Author Author's name. 60 * @type string $AuthorURI Author's website address (if set). 61 * @type string $Version Plugin version. 60 * @type string $Author Plugin author's name. 61 * @type string $AuthorURI Plugin author's website address (if set). 62 62 * @type string $TextDomain Plugin textdomain. 63 * @type string $DomainPath Plugin s relative directory path to .mo files.63 * @type string $DomainPath Plugin's relative directory path to .mo files. 64 64 * @type bool $Network Whether the plugin can only be activated network-wide. 65 65 * @type string $RequiresWP Minimum required version of WordPress. 66 66 * @type string $RequiresPHP Minimum required version of PHP. 67 67 * @type string $UpdateURI ID of the plugin for update purposes, should be a URI. 68 * @type string $Title Title of the plugin and link to the plugin's site (if set). 69 * @type string $AuthorName Plugin author's name. 68 70 * } 69 71 */ … … 130 132 * Default true. 131 133 * @param bool $translate Optional. If the returned data should be translated. Default true. 132 * @return array { 133 * Plugin data. Values will be empty if not supplied by the plugin. 134 * 135 * @type string $Name Name of the plugin. Should be unique. 136 * @type string $Title Title of the plugin and link to the plugin's site (if set). 137 * @type string $Description Plugin description. 138 * @type string $Author Author's name. 139 * @type string $AuthorURI Author's website address (if set). 140 * @type string $Version Plugin version. 141 * @type string $TextDomain Plugin textdomain. 142 * @type string $DomainPath Plugins relative directory path to .mo files. 143 * @type bool $Network Whether the plugin can only be activated network-wide. 144 * } 134 * @return array Plugin data. Values will be empty if not supplied by the plugin. 135 * See get_plugin_data() for the list of possible values. 145 136 */ 146 137 function _get_plugin_data_markup_translate( $plugin_file, $plugin_data, $markup = true, $translate = true ) {
Note: See TracChangeset
for help on using the changeset viewer.