Changeset 44581
- Timestamp:
- 01/14/2019 06:53:44 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin.php
r44562 r44581 115 115 * 116 116 * @since 2.7.0 117 * 118 * @see get_plugin_data() 119 * 117 120 * @access private 118 * @see get_plugin_data() 121 * 122 * @param string $plugin_file Path to the main plugin file. 123 * @param array $plugin_data An array of plugin data. See `get_plugin_data()`. 124 * @param bool $markup Optional. If the returned data should have HTML markup applied. 125 * Default true. 126 * @param bool $translate Optional. If the returned data should be translated. Default true. 127 * @return array { 128 * Plugin data. Values will be empty if not supplied by the plugin. 129 * 130 * @type string $Name Name of the plugin. Should be unique. 131 * @type string $Title Title of the plugin and link to the plugin's site (if set). 132 * @type string $Description Plugin description. 133 * @type string $Author Author's name. 134 * @type string $AuthorURI Author's website address (if set). 135 * @type string $Version Plugin version. 136 * @type string $TextDomain Plugin textdomain. 137 * @type string $DomainPath Plugins relative directory path to .mo files. 138 * @type bool $Network Whether the plugin can only be activated network-wide. 139 * } 119 140 */ 120 141 function _get_plugin_data_markup_translate( $plugin_file, $plugin_data, $markup = true, $translate = true ) { … … 377 398 * 378 399 * @since 3.1.0 400 * 379 401 * @access private 402 * 403 * @param array $a array with 'Name' key. 404 * @param array $b array with 'Name' key. 405 * @return int Return 0 or 1 based on two string comparison. 380 406 */ 381 407 function _sort_uname_callback( $a, $b ) {
Note: See TracChangeset
for help on using the changeset viewer.