[wp-trac] [WordPress Trac] #37700: Warning: curl_exec() has been disabled for security reasons

WordPress Trac noreply at wordpress.org
Mon Aug 22 08:22:03 UTC 2016


#37700: Warning: curl_exec() has been disabled for security reasons
--------------------------------+-----------------------
 Reporter:  Ipstenu             |       Owner:  dd32
     Type:  defect (bug)        |      Status:  reopened
 Priority:  normal              |   Milestone:  4.6.1
Component:  External Libraries  |     Version:  4.6
 Severity:  normal              |  Resolution:
 Keywords:  fixed-major         |     Focuses:
--------------------------------+-----------------------

Comment (by adam1920):

 This is the solution!
 In file  wp-includes/Requests/Transport/cURL.php
 change row 527

 {{{
 if (!function_exists('curl_init') && !function_exists('curl_exec')) {
 }}}
 to

 {{{
 if (!function_exists('curl_init') || !function_exists('curl_exec')) {
 }}}

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


More information about the wp-trac mailing list