Changeset 6104 for trunk/wp-includes/functions.php
- Timestamp:
- 09/13/2007 04:48:41 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r6064 r6104 738 738 739 739 $code = (int) $code; 740 741 if ( !isset($wp_header_to_desc) ) { 742 $wp_header_to_desc = array( 743 100 => 'Continue', 744 101 => 'Switching Protocols', 745 746 200 => 'OK', 747 201 => 'Created', 748 202 => 'Accepted', 749 203 => 'Non-Authoritative Information', 750 204 => 'No Content', 751 205 => 'Reset Content', 752 206 => 'Partial Content', 753 754 300 => 'Multiple Choices', 755 301 => 'Moved Permanently', 756 302 => 'Found', 757 303 => 'See Other', 758 304 => 'Not Modified', 759 305 => 'Use Proxy', 760 307 => 'Temporary Redirect', 761 762 400 => 'Bad Request', 763 401 => 'Unauthorized', 764 403 => 'Forbidden', 765 404 => 'Not Found', 766 405 => 'Method Not Allowed', 767 406 => 'Not Acceptable', 768 407 => 'Proxy Authentication Required', 769 408 => 'Request Timeout', 770 409 => 'Conflict', 771 410 => 'Gone', 772 411 => 'Length Required', 773 412 => 'Precondition Failed', 774 413 => 'Request Entity Too Large', 775 414 => 'Request-URI Too Long', 776 415 => 'Unsupported Media Type', 777 416 => 'Requested Range Not Satisfiable', 778 417 => 'Expectation Failed', 779 780 500 => 'Internal Server Error', 781 501 => 'Not Implemented', 782 502 => 'Bad Gateway', 783 503 => 'Service Unavailable', 784 504 => 'Gateway Timeout', 785 505 => 'HTTP Version Not Supported' 786 ); 787 } 740 788 741 789 if ( isset( $wp_header_to_desc[$code] ) ) {
Note: See TracChangeset
for help on using the changeset viewer.