core_version_check_query_args

最后更新于:2021-11-26 04:01:55

apply_filters( ‘core_version_check_query_args’, array $query )

Filters the query arguments sent as part of the core version check.

参数

$query

(array)
Version check query arguments.

  • ‘version’
    (string) GeChiUI version number.
  • ‘php’
    (string) PHP version number.
  • ‘locale’
    (string) The locale to retrieve updates for.
  • ‘mysql’
    (string) MySQL version number.
  • ‘local_package’
    (string) The value of the $gc_local_package global, when set.
  • ‘blogs’
    (int) Number of sites on this GeChiUI installation.
  • ‘users’
    (int) Number of users on this GeChiUI installation.
  • ‘multisite_enabled’
    (int) Whether this GeChiUI installation uses Multisite.
  • ‘initial_db_version’
    (int) Database version of GeChiUI at time of installation.

源文件

文件: gc-includes/update.php

View on Trac