[wp-trac] [WordPress Trac] #20187: PemFTP Failing to Fall Back to Pure PHP Implementation

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 7 00:53:35 UTC 2012


#20187: PemFTP Failing to Fall Back to Pure PHP Implementation
------------------------------------+------------------------------
 Reporter:  merty                   |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  External Libraries      |     Version:  2.3.1
 Severity:  normal                  |  Resolution:
 Keywords:  dev-feedback has-patch  |
------------------------------------+------------------------------

Comment (by kurtpayne):

 I like the idea of checking that `dl()` is available before calling it.
 That function could be disabled by the server admin.

 When setting the value of `$mod_sockets`, is there a downside to checking
 for the existence of the socket functions directly?

 {{{
 $mod_sockets = function_exists( 'socket_set_option' );
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20187#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list