IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
|
| 3236 | 3236 | if ( null !== $r['response'] ) { |
| 3237 | 3237 | status_header( $r['response'] ); |
| 3238 | 3238 | } |
| | 3239 | nocache_headers(); |
| 3239 | 3240 | } |
| 3240 | 3241 | |
| 3241 | 3242 | echo wp_json_encode( $data ); |
| … |
… |
|
| 3263 | 3264 | |
| 3264 | 3265 | list( $message, $title, $r ) = _wp_die_process_input( $message, $title, $args ); |
| 3265 | 3266 | |
| | 3267 | |
| | 3268 | if ( ! headers_sent() ) { |
| | 3269 | nocache_headers(); |
| | 3270 | } |
| | 3271 | |
| 3266 | 3272 | if ( $wp_xmlrpc_server ) { |
| 3267 | 3273 | $error = new IXR_Error( $r['response'], $message ); |
| 3268 | 3274 | $wp_xmlrpc_server->output( $error->getXml() ); |
| … |
… |
|
| 3294 | 3300 | list( $message, $title, $r ) = _wp_die_process_input( $message, $title, $args ); |
| 3295 | 3301 | |
| 3296 | 3302 | // This is intentional. For backward-compatibility, support passing null here. |
| 3297 | | if ( ! headers_sent() && null !== $args['response'] ) { |
| 3298 | | status_header( $r['response'] ); |
| | 3303 | if ( ! headers_sent() ) { |
| | 3304 | if( null !== $args['response'] ) { |
| | 3305 | status_header( $r['response'] ); |
| | 3306 | } |
| | 3307 | nocache_headers(); |
| 3299 | 3308 | } |
| 3300 | 3309 | |
| 3301 | 3310 | if ( is_scalar( $message ) ) { |