Changeset 34632
- Timestamp:
- 09/27/2015 06:27:15 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp.php
r34494 r34632 360 360 * Send additional HTTP headers for caching, content type, etc. 361 361 * 362 * Sets the X-Pingback header, 404 status (if 404), Content-type. If showing 363 * a feed, it will also send last-modified, etag, and 304 status if needed. 364 * 365 * @since 2.0.0 362 * Sets the Content-Type header. 363 * Sets the 'error' status (if passed) and optionally exits. 364 * If showing a feed, it will also send Last-Modified, ETag, and 304 status if needed. 365 * 366 * @since 2.0.0 367 * @since 4.4.0 X-Pingback header is added conditionally after posts have been queried in handle_404(). 366 368 */ 367 369 public function send_headers() { … … 583 585 * Otherwise, issue a 200. 584 586 * 587 * This sets headers after posts have been queried. handle_404() really means "handle status." 588 * By inspecting the result of querying posts, seemingly successful requests can be switched to 589 * a 404 so that canonical redirection logic can kick in. 590 * 585 591 * @since 2.0.0 586 592 *
Note: See TracChangeset
for help on using the changeset viewer.