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
|
|
|
|
* @since 1.1.0
|
|
|
|
*/
|
|
|
|
|
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
|
|
|
*
|
|
|
|
* @global string $wp_version
|
|
|
|
*/
|
Plugins: Add support for `Update URI` header.
This allows third-party plugins to avoid accidentally being overwritten with an update of a plugin of a similar name from the WordPress.org Plugin Directory.
Additionally, introduce the `update_plugins_{$hostname}` filter, which third-party plugins can use to offer updates for a given hostname.
If set, the `Update URI` header field should be a URI and have a unique hostname.
Some examples include:
* `https://wordpress.org/plugins/example-plugin/`
* `https://example.com/my-plugin/`
* `my-custom-plugin-name`
`Update URI: false` also works, and unless there is code handling the `false` hostname, the plugin will never get an update notification.
If the header is present, the WordPress.org API will currently only return updates for the plugin if it matches the following format:
* `https://wordpress.org/plugins/{$slug}/`
* `w.org/plugin/{$slug}`
If the header has any other value, the API will not return a result and will ignore the plugin for update purposes.
Props dd32, DavidAnderson, meloniq, markjaquith, DrewAPicture, mweichert, design_dolphin, filosofo, sean212, nhuja, JeroenReumkens, infolu, dingdang, joyously, earnjam, williampatton, grapplerulrich, markparnell, apedog, afragen, miqrogroove, rmccue, crazycoders, jdgrimes, damonganto, joostdevalk, jorbin, georgestephanis, khromov, GeekStreetWP, jb510, Rarst, juliobox, Ipstenu, mikejolley, Otto42, gMagicScott, TJNowell, GaryJ, knutsp, mordauk, nvartolomei, aspexi, chriscct7, benoitchantre, ryno267, lev0, gregorlove, dougwollison, SergeyBiryukov.
See #14179, #23318, #32101.
Built from https://develop.svn.wordpress.org/trunk@50921
git-svn-id: http://core.svn.wordpress.org/trunk@50530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-17 17:04:01 +00:00
|
|
|
$wp_version = '5.8-alpha-50921';
|
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';
|