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
|
|
|
|
*/
|
Themes: Add internal-only theme.json's webfonts handler (stopgap).
Adds `_wp_theme_json_webfonts_handler()` for handling `fontFace` declarations in a theme's `theme.json` file to generate the `@font-face` styles for both the editor and front-end.
Design notes:
* It is not a public API, but rather an internal, Core-only handler.
* It is a stopgap implementation that will be replaced when the public Webfonts API is introduced in Core.
* The code design is intentional, albeit funky, with the purpose of avoiding backwards-compatibility issues when the public Webfonts API is introduced in Core.
* It hides the inter-workings.
* Does not exposing API ins and outs for external consumption.
* Only works for `theme.json`.
* Does not provide registration or enqueuing access for plugins.
For more context on the decision to include this stopgap and the Webfonts API, see:
* Core's PR 40493 https://github.com/WordPress/gutenberg/pull/40493
* Gutenberg's tracking issue 40472 https://github.com/WordPress/gutenberg/issues/40472
Props aristath, hellofromTonya, peterwilsoncc, costdev, jffng, zieladam, gziolo, bph, jonoaldersonwp, desrosj.
See #55567, #46370.
Built from https://develop.svn.wordpress.org/trunk@53282
git-svn-id: http://core.svn.wordpress.org/trunk@52871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-04-26 14:48:09 +00:00
|
|
|
$wp_version = '6.0-beta2-53282';
|
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
|
|
|
|
*/
|
2021-10-18 13:30:57 +00:00
|
|
|
$wp_db_version = 51917;
|
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';
|