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
This commit is contained in:
parent
56af5db74f
commit
597b22c99c
|
@ -312,7 +312,7 @@ function wp_debug_mode() {
|
||||||
*
|
*
|
||||||
* This filter runs before it can be used by plugins. It is designed for
|
* 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
|
* 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.
|
* will be used unless you take care to update them yourself.
|
||||||
*
|
*
|
||||||
* @since 4.6.0
|
* @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/`
|
* e.g. `/wp-admin/`
|
||||||
*
|
*
|
||||||
|
@ -1527,7 +1527,7 @@ function wp_is_jsonp_request() {
|
||||||
*
|
*
|
||||||
* @since 5.2.0
|
* @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() {
|
function wp_is_xml_request() {
|
||||||
$accepted = array(
|
$accepted = array(
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue