Make WordPress Core


Ignore:
Timestamp:
08/08/2008 05:05:10 PM (17 years ago)
Author:
westi
Message:

Lots of fixes for Notices when WP_DEBUG is set. See #6669 props santosj.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/formatting.php

    r8540 r8589  
    2828        $curl = $textarr[$i];
    2929
    30         if (isset($curl{0}) && '<' != $curl{0} && '[' != $curl{0} && $next && !$has_pre_parent) { // If it's not a tag
     30        if ( !empty($curl) && '<' != $curl{0} && '[' != $curl{0} && $next && !$has_pre_parent) { // If it's not a tag
    3131            // static strings
    3232            $curl = str_replace($static_characters, $static_replacements, $curl);
Note: See TracChangeset for help on using the changeset viewer.