[wp-trac] [WordPress Trac] #40784: WP_HTTP_IXR_Client constructor needs to check that $server is valid

WordPress Trac noreply at wordpress.org
Sat May 20 06:25:49 UTC 2017


#40784: WP_HTTP_IXR_Client constructor needs to check that $server is valid
---------------------------+------------------------------
 Reporter:  chrispecoraro  |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  HTTP API       |     Version:  4.7.4
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+------------------------------
Changes (by drebbits.web):

 * component:  General => HTTP API


Comment:

 Welcome @chrispecoraro. Thanks for reporting.

 Although in the example code block, I'm seeing `$pingback_server_url` is
 being checked out around this line `if ( $pingback_server_url ) {...}`,
 I'm still convince that we need a check on the `$server` if it's the type
 of data we expect it to be here.

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


More information about the wp-trac mailing list