Make WordPress Core

Changes between Version 2 and Version 3 of Ticket #28724, comment 10


Ignore:
Timestamp:
07/05/2014 05:24:17 PM (12 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28724, comment 10

    v2 v3  
    33Fatal error: Can't use function return value in write context in wp-includes/formatting.php on line 237
    44}}}
    5 It can probably be replaced with `'' === trim( $curl )`.
    6 
     5It can probably be replaced with:
     6{{{
     7if ( '' === trim( $curl ) ) {
     8        continue;
     9}
     10}}}
    711Is there a reason not to make this check the first in the loop? Can the regex can be modified to avoid newlines instead?