2004-01-28 02:52:58 +01:00
|
|
|
<?php
|
2018-10-01 23:00:26 +02:00
|
|
|
/**
|
|
|
|
* WordPress Version
|
|
|
|
*
|
|
|
|
* Contains version information for the current WordPress release.
|
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
* @since 1.1.0
|
|
|
|
*/
|
|
|
|
|
2008-01-04 21:05:07 +01:00
|
|
|
/**
|
2020-02-10 04:30:06 +01:00
|
|
|
* The WordPress version string.
|
2008-01-04 21:05:07 +01:00
|
|
|
*
|
|
|
|
* @global string $wp_version
|
|
|
|
*/
|
Upgrade/Install: Invalidate OPcache for PHP files during updates.
When files are copied into place, check whether opcode invalidation is available and attempt to invalidate to avoid unintended behavior or fatal errors from themes, plugins, or core.
Introduces `wp_opcache_invalidate()` to allow safe invalidation of PHP files from opcode cache, and a filter, `wp_opcache_invalidate_file` to override the behavior.
Replaces the existing calls to `opcache_invalidate()` in the plugin and theme editors to use the new function.
Thanks to jnylen0 for porting over a patch from ClassicPress that provided much of the approach for what is being committed.
Props nigro.simone, dd32, JasWSInc, szepe.viktor, swissspidy, JanR, asalce, Garavani, pavelevap, pputzer, GregLone, benoitchantre, jadonn, doc987, kraftbj, Krstarica, jnylen0, nextendweb, williampatton, ayeshrajans, joostdevalk, stevenkussmaul, boogah, jorbin, mikeschroder.
Fixes #36455, #50354.
Built from https://develop.svn.wordpress.org/trunk@48160
git-svn-id: http://core.svn.wordpress.org/trunk@47929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-25 09:15:12 +02:00
|
|
|
$wp_version = '5.5-alpha-48160';
|
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
|
|
|
|
*/
|
General: Remove “whitelist” and “blacklist” in favor of more clear and inclusive language.
“The WordPress open source community cares about diversity. We strive to maintain a welcoming environment where everyone can feel included.”
With this commit, all occurrences of “whitelist” and “blacklist” (with the single exception of the `$new_whitelist_options` global variable) are removed. A new ticket has been opened to explore renaming the `$new_whitelist_options` variable (#50434).
Changing to more specific names or rewording sentences containing these terms not only makes the code more inclusive, but also helps provide clarity. These terms are often ambiguous. What is being blocked or allowed is not always immediately clear. This can make it more difficult for non-native English speakers to read through the codebase.
Words matter. If one contributor feels more welcome because these terms are removed, this was worth the effort.
Props strangerstudios, jorbin, desrosj, joemcgill, timothyblynjacobs, ocean90, ayeshrajans, davidbaumwald, earnjam.
See #48900, #50434.
Fixes #50413.
Built from https://develop.svn.wordpress.org/trunk@48121
git-svn-id: http://core.svn.wordpress.org/trunk@47890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-22 19:26:13 +02:00
|
|
|
$wp_db_version = 48121;
|
2004-01-28 02:52:58 +01:00
|
|
|
|
2009-05-18 22:29:26 +02:00
|
|
|
/**
|
2020-02-10 04:30:06 +01:00
|
|
|
* Holds the TinyMCE version.
|
2009-05-18 22:29:26 +02:00
|
|
|
*
|
|
|
|
* @global string $tinymce_version
|
|
|
|
*/
|
2020-06-25 00:06:12 +02:00
|
|
|
$tinymce_version = '49100-20200624';
|
2009-05-18 22:29:26 +02:00
|
|
|
|
2009-12-17 19:46:19 +01:00
|
|
|
/**
|
2020-02-10 04:30:06 +01:00
|
|
|
* Holds the required PHP version.
|
2009-12-17 19:46:19 +01:00
|
|
|
*
|
|
|
|
* @global string $required_php_version
|
|
|
|
*/
|
2019-03-28 22:12:52 +01:00
|
|
|
$required_php_version = '5.6.20';
|
2009-12-17 19:46:19 +01:00
|
|
|
|
|
|
|
/**
|
2020-02-10 04:30:06 +01:00
|
|
|
* Holds the required MySQL version.
|
2009-12-17 19:46:19 +01:00
|
|
|
*
|
|
|
|
* @global string $required_mysql_version
|
|
|
|
*/
|
2011-03-21 19:30:56 +01:00
|
|
|
$required_mysql_version = '5.0';
|