From 623ba7e8c931a43692c02af9d2f50536dd5360fc Mon Sep 17 00:00:00 2001 From: Gary Pendergast Date: Sat, 3 Dec 2016 04:07:40 +0000 Subject: [PATCH] Load: Re-add `locale.php`. `locale.php` is occasionally included directly by custom external code, so should continue to be available. This behaviour is deprecated. Partial revert of [38364]. See #37827, #39027. Built from https://develop.svn.wordpress.org/trunk@39455 git-svn-id: http://core.svn.wordpress.org/trunk@39395 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/update-core.php | 2 +- wp-includes/locale.php | 27 +++++++++++++++++++++++++++ wp-includes/version.php | 2 +- 3 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 wp-includes/locale.php diff --git a/wp-admin/includes/update-core.php b/wp-admin/includes/update-core.php index b8bb0c1195..65d2717356 100644 --- a/wp-admin/includes/update-core.php +++ b/wp-admin/includes/update-core.php @@ -708,7 +708,7 @@ $_old_files = array( // 4.7 // Don't delete, yet: 'wp-admin/includes/class-wp-upgrader-skins.php', // Don't delete, yet: 'wp-includes/class-feed.php', -'wp-includes/locale.php', +// Don't delete, yet: 'wp-includes/locale.php', // Don't delete, yet: 'wp-includes/session.php', 'wp-includes/customize/class-wp-customize-themes-panel.php', // Removed in beta; when the feature comes back remember to remove it from this array. See #37661. ); diff --git a/wp-includes/locale.php b/wp-includes/locale.php new file mode 100644 index 0000000000..b30d1fdf42 --- /dev/null +++ b/wp-includes/locale.php @@ -0,0 +1,27 @@ +is_rtl(); +} diff --git a/wp-includes/version.php b/wp-includes/version.php index 0e08f7c0a6..14e956b041 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.8-alpha-39453'; +$wp_version = '4.8-alpha-39455'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.