Changeset 7379 for trunk/src/includes/common/ajax.php
- Timestamp:
- 11/24/2025 07:23:06 PM (4 months ago)
- File:
-
- 1 edited
-
trunk/src/includes/common/ajax.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/common/ajax.php
r7361 r7379 122 122 123 123 // Set the header content type 124 @header( 'Content-Type: ' . get_option( 'html_type' ) . '; charset=' . get_option( 'blog_charset' ) );125 @header( 'X-Robots-Tag: noindex' );124 header( 'Content-Type: ' . get_option( 'html_type' ) . '; charset=' . get_option( 'blog_charset' ) ); 125 header( 'X-Robots-Tag: noindex' ); 126 126 127 127 // Disable content sniffing in browsers that support it … … 161 161 162 162 // Send back the JSON 163 @header( 'Content-type: application/json' );163 header( 'Content-type: application/json' ); 164 164 echo json_encode( $response ); 165 165 die();
Note: See TracChangeset
for help on using the changeset viewer.