2004-01-28 02:52:58 +01:00
|
|
|
<?php
|
2018-10-01 23:00:26 +02:00
|
|
|
/**
|
|
|
|
* WordPress Version
|
|
|
|
*
|
|
|
|
* Contains version information for the current WordPress release.
|
|
|
|
*
|
|
|
|
* @package WordPress
|
2021-06-21 06:29:56 +02:00
|
|
|
* @since 1.2.0
|
2018-10-01 23:00:26 +02:00
|
|
|
*/
|
|
|
|
|
2008-01-04 21:05:07 +01:00
|
|
|
/**
|
2020-02-10 04:30:06 +01:00
|
|
|
* The WordPress version string.
|
2008-01-04 21:05:07 +01:00
|
|
|
*
|
2021-09-14 19:31:59 +02:00
|
|
|
* Holds the current version number for WordPress core. Used to bust caches
|
|
|
|
* and to enable development mode for scripts when running from the /src directory.
|
|
|
|
*
|
2008-01-04 21:05:07 +01:00
|
|
|
* @global string $wp_version
|
|
|
|
*/
|
Users: Introduce the concept of a large site to single site installations.
Currently in WordPress multisite there is a concept of large networks. The function `wp_is_large_network` is used to determine if a network has a large number of sites or users. If a network is marked as large, then
expensive queries to calculate user counts are not run on page load but deferred to scheduled events. However there are a number of places in a single site installation where this functionality would also be useful, as
expensive calls to count users and roles can make screens in the admin extremely slow.
In this change, the `get_user_count` function and related functionality around it is ported to be available in a single site context. This means that expensive calls to the `count_users` function are replaced with
calls to `get_user_count`. This change also includes a new function called `wp_is_large_user_count` and a filter of the same name, to mark if a site is large.
Props johnbillion, Spacedmonkey, Mista-Flo, lumpysimon, tharsheblows, obenland, miss_jwo, jrchamp, flixos90, macbookandrew, pento, desrosj, johnjamesjacoby, jb510, davidbaumwald, costdev.
Fixes #38741.
Built from https://develop.svn.wordpress.org/trunk@53011
git-svn-id: http://core.svn.wordpress.org/trunk@52600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-03-29 14:42:13 +02:00
|
|
|
$wp_version = '6.0-alpha-53011';
|
2008-01-04 21:05:07 +01:00
|
|
|
|
|
|
|
/**
|
2008-06-24 19:45:33 +02:00
|
|
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
2008-01-04 21:05:07 +01:00
|
|
|
*
|
|
|
|
* @global int $wp_db_version
|
|
|
|
*/
|
2021-10-18 15:30:57 +02:00
|
|
|
$wp_db_version = 51917;
|
2004-01-28 02:52:58 +01:00
|
|
|
|
2009-05-18 22:29:26 +02:00
|
|
|
/**
|
2020-02-10 04:30:06 +01:00
|
|
|
* Holds the TinyMCE version.
|
2009-05-18 22:29:26 +02:00
|
|
|
*
|
|
|
|
* @global string $tinymce_version
|
|
|
|
*/
|
2020-11-10 11:44:08 +01:00
|
|
|
$tinymce_version = '49110-20201110';
|
2009-05-18 22:29:26 +02:00
|
|
|
|
2009-12-17 19:46:19 +01:00
|
|
|
/**
|
2020-02-10 04:30:06 +01:00
|
|
|
* Holds the required PHP version.
|
2009-12-17 19:46:19 +01:00
|
|
|
*
|
|
|
|
* @global string $required_php_version
|
|
|
|
*/
|
2019-03-28 22:12:52 +01:00
|
|
|
$required_php_version = '5.6.20';
|
2009-12-17 19:46:19 +01:00
|
|
|
|
|
|
|
/**
|
2020-02-10 04:30:06 +01:00
|
|
|
* Holds the required MySQL version.
|
2009-12-17 19:46:19 +01:00
|
|
|
*
|
|
|
|
* @global string $required_mysql_version
|
|
|
|
*/
|
2011-03-21 19:30:56 +01:00
|
|
|
$required_mysql_version = '5.0';
|