2004-01-28 01:52:58 +00:00
|
|
|
<?php
|
2018-10-01 21:00:26 +00:00
|
|
|
/**
|
|
|
|
* WordPress Version
|
|
|
|
*
|
|
|
|
* Contains version information for the current WordPress release.
|
|
|
|
*
|
|
|
|
* @package WordPress
|
2021-06-21 04:29:56 +00:00
|
|
|
* @since 1.2.0
|
2018-10-01 21:00:26 +00:00
|
|
|
*/
|
|
|
|
|
2008-01-04 20:05:07 +00:00
|
|
|
/**
|
2020-02-10 03:30:06 +00:00
|
|
|
* The WordPress version string.
|
2008-01-04 20:05:07 +00:00
|
|
|
*
|
2021-09-14 17:31:59 +00: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 20:05:07 +00:00
|
|
|
* @global string $wp_version
|
|
|
|
*/
|
Database: Suppress errors when checking the validity of table prefix during installation.
There are some table prefixes (for example, `7e1_`), which the database will try and parse as values unless they are quoted in backticks. Because not everyone remembers to quote their table names, WordPress discourages use of such prefixes during setup.
To test if the table prefix is valid, WordPress executes a query deliberately trying to generate an error:
> `Unknown column 'wp_' in 'field list'`
which means the prefix is safe to use, as the database was not able to parse it as a value.
Previously, this error would not be displayed to the user in a typical configuration, but would be logged on the server via `wpdb::print_error()`, and in some cases could block the installation.
This commit makes sure the error is still checked to display a proper message in case the prefix needs to be edited, but otherwise is silently discarded instead of being logged.
Follow-up to [37581], [41631], [51582].
Props pento, lazam786, Velochicdunord, irecinius, mikemanzo, dd32, blackawxs, codewhy, psykro, burgiuk, mdrago, maythamalsudany, peterwilsoncc, sumitsingh, deksar, SergeyBiryukov.
Fixes #42362.
Built from https://develop.svn.wordpress.org/trunk@53812
git-svn-id: http://core.svn.wordpress.org/trunk@53371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-08-02 16:34:13 +00:00
|
|
|
$wp_version = '6.1-alpha-53812';
|
2008-01-04 20:05:07 +00:00
|
|
|
|
|
|
|
/**
|
2008-06-24 17:45:33 +00:00
|
|
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
2008-01-04 20:05:07 +00:00
|
|
|
*
|
|
|
|
* @global int $wp_db_version
|
|
|
|
*/
|
Taxonomy: Fix caching issues in `WP_Term_Query` class.
Introduced [52836] when passing `child_of` or `pad_counts` parameters to `get_terms` or `WP_Term_Query` class, the array of terms received by the query, was not correctly cached. This
change simplifies the logic in `WP_Term_Query` and ensures terms are correctly cached. This change also, improves performance, by only caching an array of term ids where possible.
Props denishua, spacedmonkey, oztaser, peterwilsoncc, SergeyBiryukov, georgestephanis, jnz31, knutsp, mukesh27, costdev.
Fixes #55837.
Built from https://develop.svn.wordpress.org/trunk@53496
git-svn-id: http://core.svn.wordpress.org/trunk@53085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-06-14 11:43:13 +00:00
|
|
|
$wp_db_version = 53496;
|
2004-01-28 01:52:58 +00:00
|
|
|
|
2009-05-18 20:29:26 +00:00
|
|
|
/**
|
2020-02-10 03:30:06 +00:00
|
|
|
* Holds the TinyMCE version.
|
2009-05-18 20:29:26 +00:00
|
|
|
*
|
|
|
|
* @global string $tinymce_version
|
|
|
|
*/
|
2020-11-10 10:44:08 +00:00
|
|
|
$tinymce_version = '49110-20201110';
|
2009-05-18 20:29:26 +00:00
|
|
|
|
2009-12-17 18:46:19 +00:00
|
|
|
/**
|
2020-02-10 03:30:06 +00:00
|
|
|
* Holds the required PHP version.
|
2009-12-17 18:46:19 +00:00
|
|
|
*
|
|
|
|
* @global string $required_php_version
|
|
|
|
*/
|
2019-03-28 21:12:52 +00:00
|
|
|
$required_php_version = '5.6.20';
|
2009-12-17 18:46:19 +00:00
|
|
|
|
|
|
|
/**
|
2020-02-10 03:30:06 +00:00
|
|
|
* Holds the required MySQL version.
|
2009-12-17 18:46:19 +00:00
|
|
|
*
|
|
|
|
* @global string $required_mysql_version
|
|
|
|
*/
|
2011-03-21 18:30:56 +00:00
|
|
|
$required_mysql_version = '5.0';
|