From 597b22c99c9fec374786ff12f2769dd4d9381bfc Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 22 Nov 2019 18:16:03 +0000 Subject: [PATCH] Docs: Correct spelling and capitalization in `wp-includes/load.php`: * Fix typo in `is_blog_admin()` description. * Capitalize PHP correctly in `enable_wp_debug_mode_checks` filter description. * Capitalize XML correctly in `wp_is_xml_request()` return value description. Props stevegrunwell. Fixes #48771. Built from https://develop.svn.wordpress.org/trunk@46759 git-svn-id: http://core.svn.wordpress.org/trunk@46559 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/load.php | 6 +++--- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-includes/load.php b/wp-includes/load.php index d8e80fb178..97a7bc6254 100644 --- a/wp-includes/load.php +++ b/wp-includes/load.php @@ -312,7 +312,7 @@ function wp_debug_mode() { * * This filter runs before it can be used by plugins. It is designed for * non-web run-times. Returning false causes the `WP_DEBUG` and related - * constants to not be checked and the default php values for errors + * constants to not be checked and the default PHP values for errors * will be used unless you take care to update them yourself. * * @since 4.6.0 @@ -990,7 +990,7 @@ function is_admin() { } /** - * Whether the current request is for a site's admininstrative interface. + * Whether the current request is for a site's administrative interface. * * e.g. `/wp-admin/` * @@ -1527,7 +1527,7 @@ function wp_is_jsonp_request() { * * @since 5.2.0 * - * @return bool True if Accepts or Content-Type headers contain xml, false otherwise. + * @return bool True if `Accepts` or `Content-Type` headers contain XML, false otherwise. */ function wp_is_xml_request() { $accepted = array( diff --git a/wp-includes/version.php b/wp-includes/version.php index b35d9bcfb9..029678da66 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.4-alpha-46758'; +$wp_version = '5.4-alpha-46759'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.