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
|
|
|
|
*/
|
Build/Test Tools: Splits and improves `compat` tests.
Splits the tests in the `tests/phpunit/tests/compat.php` file up into individual test classes for each function being tested.
Improvements to individual test cases:
* Adds `@covers` tags.
* Adds visibility modifiers to all methods.
* Adds function availability test.
* Where relevant, fixes the assertion parameter order.
* Data provider:
* Where relevant, reworks a test to use a data provider.
* Where relevant, renames data provider methods to have a more obvious link to the test it applies to.
* Makes the data provider more readable by adding keys within the data sets.
* Moves the data provider below its associated tests.
* Adds/removes data sets in data providers.
* Makes the actual test code more readable by using descriptive variables and multi-line function calls.
* Adds the `$message` parameter to all assertions when a test method contains more than one assertion.
Specifically for the `_mb_substr()` tests:
* Splits the `test_mb_substr_phpcore()` method into two test methods based on the PHP Core test files they are emulating.
* Makes the actual test code within the `test_mb_substr_phpcore_basic()` method more readable by using descriptive variables and multi-line function calls.
* Splits the data used for the second part of the `test_mb_substr_phpcore()` function, now `test_mb_substr_phpcore_input_type_handling()`, off into a separate data provider with named data sets.
* Removes duplicate data sets from the `data_mb_substr_phpcore_input_type_handling()`.
* Why? The PHP native tests test against upper/lowercase `false`, `true`, `null` and some other text string single quote/double quote variations. As things were, those differentiations had been undone when the coding standards were put in place, so in effect those weren't being tested anymore. And as this is userland code, there's no point in adding these differentiations back as they will be handled the same by PHP anyway (and that is safeguarded via the PHP native tests).
* Removes the "undefined variable" and "unset variable" test cases as, while those are relevant to the C code in which PHP is written, they are not relevant for testing userland code and will behave the same as the test passing `null`.
Follow-to [25002], [32364], [42228], [42343], [43034], [43036], [43220], [43571], [45607], [47122], [47198], [48937], [48996], [51415], [51563], [51594].
Props jrf, hellofromTonya.
See #39265, #53363.
Built from https://develop.svn.wordpress.org/trunk@51852
git-svn-id: http://core.svn.wordpress.org/trunk@51451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-09-22 23:06:56 +00:00
|
|
|
$wp_version = '5.9-alpha-51852';
|
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
|
|
|
|
*/
|
App Passwords: Prevent conflicts when Basic Auth is already used by the site.
Application Passwords uses Basic Authentication to transfer authentication details. If the site is already using Basic Auth, for instance to implement a private staging environment, then the REST API will treat this as an authentication attempt and would end up generating an error for any REST API request.
Now, Application Password authentication will only be attempted if Application Passwords is in use by a site. This is flagged by setting an option whenever an Application Password is created. An upgrade routine is added to set this option if any App Passwords already exist.
Lastly, creating an Application Password will be prevented if the site appears to already be using Basic Authentication.
Props chexwarrior, georgestephanis, adamsilverstein, helen, Clorith, marybaum, TimothyBlynJacobs.
Fixes #51939.
Built from https://develop.svn.wordpress.org/trunk@49752
git-svn-id: http://core.svn.wordpress.org/trunk@49475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-12-04 21:44:07 +00:00
|
|
|
$wp_db_version = 49752;
|
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';
|