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
|
|
|
|
*/
|
Code Modernization: Check the return type of `_get_cron_array()` in `wp_schedule_event()`.
This fixes a "Deprecated: Automatic conversion of false to array is deprecated" warning on PHP 8.1.
In `wp_schedule_event()`, the cron info array is retrieved via a call to `_get_cron_array()`, but as the documentation (correctly) states, the return type of that function is `array|false`, where `false` is returned for a virgin site, with no cron jobs scheduled yet.
However, no type check is done on the return value, and the `wp_schedule_event()` function just blindly continues by assigning a value to a subkey of the `$crons` "array".
Fixed by adding validation for the returned value from `_get_cron_array()` and initializing an empty array if `false` was returned.
Reference: [https://developer.wordpress.org/reference/functions/_get_cron_array/ WordPress Developer Resources: _get_cron_array()]
Props jrf, hellofromTonya, lucatume, pbearne, iluy, pedromendonca, SergeyBiryukov.
See #53635.
Built from https://develop.svn.wordpress.org/trunk@51619
git-svn-id: http://core.svn.wordpress.org/trunk@51225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-08-16 17:23:57 +02:00
|
|
|
$wp_version = '5.9-alpha-51619';
|
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';
|