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

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 29 02:12:42 UTC 2012


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

Comment (by dd32):

 For what it's worth, I couldn't cause the script to die.

 If dl is disabled via safemode or enable_dl = Off, the function simply
 returns false. If the function is disabled via disable_functions, it
 returns null.  False or Null would trigger setting it to false.

 in the above cases, is_callable() would return true, as it could be
 called. function_exists() would return false however.  This may differ in
 a binary that it was specifically removed in though, which would cause it
 to die.

 Instead, I'll commit a version which should avoid any issues..

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


More information about the wp-trac mailing list