2004-01-27 20:52:58 -05:00
|
|
|
<?php
|
2018-10-01 17:00:26 -04:00
|
|
|
/**
|
|
|
|
* WordPress Version
|
|
|
|
*
|
|
|
|
* Contains version information for the current WordPress release.
|
|
|
|
*
|
|
|
|
* @package WordPress
|
2021-06-21 00:29:56 -04:00
|
|
|
* @since 1.2.0
|
2018-10-01 17:00:26 -04:00
|
|
|
*/
|
|
|
|
|
2008-01-04 15:05:07 -05:00
|
|
|
/**
|
2020-02-09 22:30:06 -05:00
|
|
|
* The WordPress version string.
|
2008-01-04 15:05:07 -05:00
|
|
|
*
|
2021-09-14 13:31:59 -04: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 15:05:07 -05:00
|
|
|
* @global string $wp_version
|
|
|
|
*/
|
REST API: Introduce Menu management endpoints.
This commit introduces the `/wp/v2/menus`, `/wp/v2/menu-items` and `/wp/v2/menu-locations` REST API endpoints. These endpoints are fully available to users with the `edit_theme_options` capability, but can be read by any user who can edit a REST API available post type.
The `nav_menu` taxonomy and `nav_menu_item` post type now map their capabilities to the `edit_theme_options` primitive capability. This allows developers to provide more fine-grained access control. However, if a developer is currently dynamically removing the `edit_theme_options` capability using `map_meta_cap`, they should use the `user_has_cap` filter instead.
The `wp_update_nav_menu_item()` function has been adjusted to return an error if saving the menu item post or assigning the menu item to a menu generate an error.
Lastly, a new menu item type is introduced, `block`, that can be used to store a Block as a menu item.
Props andraganescu, antonvlasenko, dingo_d, dlh, isabel_brison, kadamwhite, Mamaduka, NateWr, noisysocks, peterwilsoncc, ryelle, schlessera, soean, Spacedmonkey, talldanwp, TimothyBlynJacobs, tobifjellner, westonruter, wpscholar, zieladam.
Fixes #40878.
Built from https://develop.svn.wordpress.org/trunk@52079
git-svn-id: http://core.svn.wordpress.org/trunk@51671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-11-09 14:00:01 -05:00
|
|
|
$wp_version = '5.9-alpha-52079';
|
2008-01-04 15:05:07 -05:00
|
|
|
|
|
|
|
/**
|
2008-06-24 13:45:33 -04:00
|
|
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
2008-01-04 15:05:07 -05:00
|
|
|
*
|
|
|
|
* @global int $wp_db_version
|
|
|
|
*/
|
2021-10-18 09:30:57 -04:00
|
|
|
$wp_db_version = 51917;
|
2004-01-27 20:52:58 -05:00
|
|
|
|
2009-05-18 16:29:26 -04:00
|
|
|
/**
|
2020-02-09 22:30:06 -05:00
|
|
|
* Holds the TinyMCE version.
|
2009-05-18 16:29:26 -04:00
|
|
|
*
|
|
|
|
* @global string $tinymce_version
|
|
|
|
*/
|
2020-11-10 05:44:08 -05:00
|
|
|
$tinymce_version = '49110-20201110';
|
2009-05-18 16:29:26 -04:00
|
|
|
|
2009-12-17 13:46:19 -05:00
|
|
|
/**
|
2020-02-09 22:30:06 -05:00
|
|
|
* Holds the required PHP version.
|
2009-12-17 13:46:19 -05:00
|
|
|
*
|
|
|
|
* @global string $required_php_version
|
|
|
|
*/
|
2019-03-28 17:12:52 -04:00
|
|
|
$required_php_version = '5.6.20';
|
2009-12-17 13:46:19 -05:00
|
|
|
|
|
|
|
/**
|
2020-02-09 22:30:06 -05:00
|
|
|
* Holds the required MySQL version.
|
2009-12-17 13:46:19 -05:00
|
|
|
*
|
|
|
|
* @global string $required_mysql_version
|
|
|
|
*/
|
2011-03-21 14:30:56 -04:00
|
|
|
$required_mysql_version = '5.0';
|