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.

git-svn-id: https://develop.svn.wordpress.org/trunk@46759 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2019-11-22 18:14:45 +00:00
parent 206ea67257
commit 7551c2b47d
1 changed files with 3 additions and 3 deletions

View File

@ -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(