Make WordPress Core

Ticket #41759: 41759.patch

File 41759.patch, 641 bytes (added by tfrommen, 7 years ago)
  • src/wp-includes/class-wp-http-response.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    4848         * @param array $headers Optional. HTTP header map. Default empty array.
    4949         */
    5050        public function __construct( $data = null, $status = 200, $headers = array() ) {
    51                 $this->data = $data;
     51                $this->set_data( $data );
    5252                $this->set_status( $status );
    5353                $this->set_headers( $headers );
    5454        }