WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/14/2019 02:53:45 PM (2 months ago)
Author:
SergeyBiryukov
Message:

HTTP API: Add a unit test for get_status_header_desc().

Props pbearne.
Fixes #46631.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/functions.php

    r46078 r46107  
    12511251 *
    12521252 * @param int $code HTTP status code.
    1253  * @return string Empty string if not found, or description if found.
     1253 * @return string Status description if found, an empty string otherwise.
    12541254 */
    12551255function get_status_header_desc( $code ) {
Note: See TracChangeset for help on using the changeset viewer.