[wp-trac] [WordPress Trac] #41759: WP_HTTP_Response: Use setter instead of directly accessing the $data property

WordPress Trac noreply at wordpress.org
Tue Oct 3 15:17:11 UTC 2017


#41759: WP_HTTP_Response: Use setter instead of directly accessing the $data
property
------------------------------+-----------------------------
 Reporter:  tfrommen          |       Owner:  SergeyBiryukov
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  4.9
Component:  HTTP API          |     Version:  4.4
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  rest-api
------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:   => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"41707"]:
 {{{
 #!CommitTicketReference repository="" revision="41707"
 HTTP API: Use `WP_HTTP_Response::set_data()` in `::__construct()` instead
 of directly accessing the `$data` property.

 Props tfrommen.
 Fixes #41759.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41759#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list