WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/16/2015 08:00:15 PM (6 years ago)
Author:
wonderboymusic
Message:

if is a statment, not a function.

See #32444.

File:
1 edited

Legend:

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

    r32797 r32800  
    15831583            $tag = strtolower(substr($regex[1],1));
    15841584            // if too many closing tags
    1585             if( $stacksize <= 0 ) {
     1585            if ( $stacksize <= 0 ) {
    15861586                $tag = '';
    15871587                // or close to be safe $tag = '/' . $tag;
     
    16381638            // Attributes
    16391639            $attributes = $regex[2];
    1640             if( ! empty( $attributes ) && $attributes[0] != '>' )
     1640            if ( ! empty( $attributes ) && $attributes[0] != '>' )
    16411641                $attributes = ' ' . $attributes;
    16421642
     
    27432743     */
    27442744    $filtered = apply_filters( 'pre_ent2ncr', null, $text );
    2745     if( null !== $filtered )
     2745    if ( null !== $filtered )
    27462746        return $filtered;
    27472747
Note: See TracChangeset for help on using the changeset viewer.