mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Docs: Fix some syntatical issues in the DocBlock for WP::send_headers() following [34632].
See #20226. See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@34635 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
4dc810ad3c
commit
b3f49e0cdf
@ -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();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user