mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-27 06:42:56 +02:00
Docs: Expand the docs for the core_version_check_query_args
filter.
Add documentation for the parameters in the `$query` parameter. Props MattyRob. Fixes #16778. Built from https://develop.svn.wordpress.org/trunk@41965 git-svn-id: http://core.svn.wordpress.org/trunk@41799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0847fab645
commit
8608b710b7
@ -99,13 +99,25 @@ function wp_version_check( $extra_stats = array(), $force_check = false ) {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Filter the query arguments sent as part of the core version check.
|
* Filter the query arguments sent as part of the core version check.
|
||||||
*
|
*
|
||||||
* WARNING: Changing this data may result in your site not receiving security updates.
|
* WARNING: Changing this data may result in your site not receiving security updates.
|
||||||
* Please exercise extreme caution.
|
* Please exercise extreme caution.
|
||||||
*
|
*
|
||||||
* @since 4.9.0
|
* @since 4.9.0
|
||||||
*
|
*
|
||||||
* @param array $query Version check query arguments.
|
* @param array $query {
|
||||||
|
* Version check query arguments.
|
||||||
|
*
|
||||||
|
* @type string $version WordPress version number.
|
||||||
|
* @type string $php PHP version number.
|
||||||
|
* @type string $locale The locale to retrieve updates for.
|
||||||
|
* @type string $mysql MySQL version number.
|
||||||
|
* @type string $local_package The value of the $wp_local_package global, when set.
|
||||||
|
* @type int $blogs Number of blogs on this WordPress install.
|
||||||
|
* @type int $users Number of sites on this WordPress install.
|
||||||
|
* @type int $multisite_enabled Whether this WordPress install uses multisite.
|
||||||
|
* @type int $initial_db_version Database version of WordPress at time of installation.
|
||||||
|
* }
|
||||||
*/
|
*/
|
||||||
$query = apply_filters( 'core_version_check_query_args', $query );
|
$query = apply_filters( 'core_version_check_query_args', $query );
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.9-beta3-41964';
|
$wp_version = '4.9-beta3-41965';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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
Block a user