2004-01-28 02:52:58 +01:00
|
|
|
<?php
|
2008-01-04 21:05:07 +01:00
|
|
|
/**
|
|
|
|
* The WordPress version string
|
|
|
|
*
|
|
|
|
* @global string $wp_version
|
|
|
|
*/
|
Multisite: Complete the new CRUD API for managing sites.
New functions `wp_insert_site( $data )`, `wp_update_site( $id, $data )` and `wp_delete_site( $id )` are introduced to manage site rows in the `wp_blogs` table, forming the new CRUD API together with the existing `get_site()` / `get_sites()`. The new API provides various benefits over the previously existing API, fixing several cache invalidation issues and being hook-driven so that normalization and validation of the passed data can be fully customized.
New hooks introduced as part of this are the actions `wp_insert_site`, `wp_update_site`, `wp_delete_site`, `wp_validate_site_data` and the filter `wp_normalize_site_data`.
At this point, `wp_insert_site()` does not handle setting up the site's database tables, and `wp_delete_site()` does not handle dropping the site's database tables, so the two can not yet be used directly as full replacements of `wpmu_create_blog()` and `wpmu_delete_blog()`. Managing the site's database tables will be added via hooks as part of the follow-up ticket #41333.
The existing functions `wpmu_create_blog()`, `update_blog_details()`, and `wpmu_delete_blog()` make use of the respective new counterpart and will be obsolete once #41333 has been completed.
Props flixos90, jeremyfelt, spacedmonkey.
Fixes #40364.
Built from https://develop.svn.wordpress.org/trunk@43548
git-svn-id: http://core.svn.wordpress.org/trunk@43377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-08-01 15:06:26 +02:00
|
|
|
$wp_version = '5.0-alpha-43548';
|
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
|
|
|
|
*/
|
2018-03-16 03:15:31 +01:00
|
|
|
$wp_db_version = 42836;
|
2004-01-28 02:52:58 +01:00
|
|
|
|
2009-05-18 22:29:26 +02:00
|
|
|
/**
|
|
|
|
* Holds the TinyMCE version
|
|
|
|
*
|
|
|
|
* @global string $tinymce_version
|
|
|
|
*/
|
2018-07-16 10:07:26 +02:00
|
|
|
$tinymce_version = '4800-20180716';
|
2009-05-18 22:29:26 +02:00
|
|
|
|
2009-12-17 19:46:19 +01:00
|
|
|
/**
|
|
|
|
* Holds the required PHP version
|
|
|
|
*
|
|
|
|
* @global string $required_php_version
|
|
|
|
*/
|
2011-03-21 19:30:56 +01:00
|
|
|
$required_php_version = '5.2.4';
|
2009-12-17 19:46:19 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Holds the required MySQL version
|
|
|
|
*
|
|
|
|
* @global string $required_mysql_version
|
|
|
|
*/
|
2011-03-21 19:30:56 +01:00
|
|
|
$required_mysql_version = '5.0';
|