Make WordPress Core

Ticket #16778: 16778.doc.diff

File 16778.doc.diff, 1.3 KB (added by MattyRob, 7 years ago)
  • src/wp-includes/update.php

     
    9999
    100100        /**
    101101         * Filter the query arguments sent as part of the core version check.
    102          * 
     102         *
    103103         * WARNING: Changing this data may result in your site not receiving security updates.
    104104         * Please exercise extreme caution.
    105105         *
     
    106106         * @since 4.9.0
    107107         *
    108108         * @param array $query Version check query arguments.
     109         * @param array $query {
     110         *      @type string $version WordPress version number. Default $wp_version
     111         *      @type string $php PHP version number. Default $php_version
     112         *      @type string $locale
     113         *      @type string $mysql MySQL version number. Default $mysql_version
     114         *      @type string $local_package
     115         *      @type int $blogs Number of blogs. Default 1 or Multisite get_blog_count();
     116         *      @type int $users Number of site users. Default count_users(); or get_user_count();
     117         *      @type int $multisite_enabled Multisite in use. Default 0
     118         *      @type int $initial_db_version Database version of WordPress at time of installation
     119         * }
     120         * @return array $query Version check query arguments.
    109121         */
    110122        $query = apply_filters( 'core_version_check_query_args', $query );
    111123