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
|
|
|
*
|
|
|
|
* @global string $wp_version
|
|
|
|
*/
|
Build/Test Tools: Use the PHPUnit Polyfill TestCase as `void` workaround.
> PHPUnit 8.0.0 introduced a `void` return type declaration to the "fixture" methods – `setUpBeforeClass()`, `setUp()`, `tearDown()` and `tearDownAfterClass()`. As the `void` return type was not introduced until PHP 7.1, this makes it more difficult to create cross-version compatible tests when using fixtures, due to signature mismatches.
>
> The `Yoast\PHPUnitPolyfills\TestCases\TestCase` overcomes the signature mismatch by having two versions. The correct one will be loaded depending on the PHPUnit version being used.
>
> When using this TestCase, if an individual test, or another TestCase which extends this TestCase, needs to overload any of the "fixture" methods, it should do so by using a snake_case variant of the original fixture method name, i.e. `set_up_before_class()`, `set_up()`, `assert_pre_conditions()`, `assert_post_conditions()`, `tear_down()`, and `tear_down_after_class()`.
>
> The snake_case methods will automatically be called by PHPUnit.
>
> > IMPORTANT: The snake_case methods should not call the PHPUnit parent, i.e. do not use `parent::setUp()` from within an overloaded `set_up()` method. If necessary, DO call `parent::set_up()`.
Reference: https://github.com/Yoast/PHPUnit-Polyfills#testcases
This commit:
* Lets the `PHPUnit_Adapter_TestCase` extend the `Yoast\PHPUnitPolyfills\TestCases\TestCase`, which makes this solution for the `void` return type available to the WordPress test suite.
* Removes the individual import and trait `use` statements for the Polyfill traits. These are no longer necessary as the `Yoast\PHPUnitPolyfills\TestCases\TestCase` already includes those.
Follow-up to [51559-51566].
Props jrf, hellofromTonya, johnbillion, netweb, SergeyBiryukov.
See #46149.
Built from https://develop.svn.wordpress.org/trunk@51567
git-svn-id: http://core.svn.wordpress.org/trunk@51178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-08-07 12:22:02 +02:00
|
|
|
$wp_version = '5.9-alpha-51567';
|
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
|
|
|
|
*/
|
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 22:44:07 +01:00
|
|
|
$wp_db_version = 49752;
|
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';
|