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
|
|
|
|
*/
|
Privacy: Rename exports folder to avoid deleting other files.
Previously, personal data exports were stored in `wp-content/uploads/exports`, which is generic enough that it's likely there are existing folders with that name, either created by plugins or manually by administrators. If that folder were reused by Core, then `wp_privacy_delete_old_export_files()` would delete all of the existing files inside it, which is almost certainly not what the site owner wants or expects.
To avoid that, the folder is being renamed to include a specific reference to Core, and a more verbose description of its purpose. With those factored in, it's very unlikely that there will be any conflicts with existing folders.
The `wp_privacy_exports_dir()` and `wp_privacy_exports_url()` functions were introduced to provide a canonical source for the location, and the `wp_privacy_exports_dir` and `wp_privacy_exports_url` filters were introduced to allow plugins to customize it.
Props johnjamesjacoby, allendav.
Fixes #44091.
Built from https://develop.svn.wordpress.org/trunk@43284
git-svn-id: http://core.svn.wordpress.org/trunk@43113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-05-15 22:22:20 +02:00
|
|
|
$wp_version = '5.0-alpha-43284';
|
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-04-26 00:35:21 +02:00
|
|
|
$tinymce_version = '4711-20180425';
|
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';
|