mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Docs: Improve documentation for install_plugin_install_status()
.
Props clarionwpdeveloper, sudar. Fixes #36912. Built from https://develop.svn.wordpress.org/trunk@38805 git-svn-id: http://core.svn.wordpress.org/trunk@38748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ffdef38f5b
commit
1e54943b0f
@ -348,9 +348,16 @@ function display_plugins_table() {
|
||||
*
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @param array|object $api
|
||||
* @param bool $loop
|
||||
* @return type
|
||||
* @param array|object $api Data about the plugin retrieved from the API.
|
||||
* @param bool $loop Optional. Disable further loops. Default false.
|
||||
* @return array {
|
||||
* Plugin installation status data.
|
||||
*
|
||||
* @type string $status Status of a plugin. Could be one of 'install', 'update_available', 'latest_installed' or 'newer_installed'.
|
||||
* @type string $url Plugin installation URL.
|
||||
* @type string $version The most recent version of the plugin.
|
||||
* @type string $file Plugin filename relative to the plugins directory.
|
||||
* }
|
||||
*/
|
||||
function install_plugin_install_status($api, $loop = false) {
|
||||
// This function is called recursively, $loop prevents further loops.
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.7-alpha-38804';
|
||||
$wp_version = '4.7-alpha-38805';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user