Changeset 55210 for trunk/src/wp-includes/comment.php
- Timestamp:
- 02/03/2023 01:33:18 PM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment.php
r54891 r55210 2825 2825 } 2826 2826 2827 if ( wp_remote_retrieve_header( $response, ' x-pingback' ) ) {2828 return wp_remote_retrieve_header( $response, ' x-pingback' );2827 if ( wp_remote_retrieve_header( $response, 'X-Pingback' ) ) { 2828 return wp_remote_retrieve_header( $response, 'X-Pingback' ); 2829 2829 } 2830 2830 2831 2831 // Not an (x)html, sgml, or xml page, no use going further. 2832 if ( preg_match( '#(image|audio|video|model)/#is', wp_remote_retrieve_header( $response, ' content-type' ) ) ) {2832 if ( preg_match( '#(image|audio|video|model)/#is', wp_remote_retrieve_header( $response, 'Content-Type' ) ) ) { 2833 2833 return false; 2834 2834 }
Note: See TracChangeset
for help on using the changeset viewer.