mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-31 13:37:51 +01:00
Docs: Fix some syntatical issues in the DocBlock for WP::send_headers()
following [34632].
See #20226. See #32246. Built from https://develop.svn.wordpress.org/trunk@34635 git-svn-id: http://core.svn.wordpress.org/trunk@34599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1c74c7108f
commit
9c46736476
@ -357,14 +357,13 @@ class WP {
|
||||
}
|
||||
|
||||
/**
|
||||
* Send additional HTTP headers for caching, content type, etc.
|
||||
* Sends additional HTTP headers for caching, content type, etc.
|
||||
*
|
||||
* Sets the Content-Type header.
|
||||
* Sets the 'error' status (if passed) and optionally exits.
|
||||
* Sets the Content-Type header. Sets the 'error' status (if passed) and optionally exits.
|
||||
* If showing a feed, it will also send Last-Modified, ETag, and 304 status if needed.
|
||||
*
|
||||
* @since 2.0.0
|
||||
* @since 4.4.0 X-Pingback header is added conditionally after posts have been queried in handle_404().
|
||||
* @since 4.4.0 `X-Pingback` header is added conditionally after posts have been queried in handle_404().
|
||||
*/
|
||||
public function send_headers() {
|
||||
$headers = array();
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-alpha-34634';
|
||||
$wp_version = '4.4-alpha-34635';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user