Make WordPress Core


Ignore:
Timestamp:
01/06/2011 04:11:14 AM (16 years ago)
Author:
ryan
Message:

Bring out the shears.

File:
1 edited

Legend:

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

    r17171 r17228  
    13141314        $url = $matches[2];
    13151315        $suffix = '';
    1316        
     1316
    13171317        /** Include parentheses in the URL only if paired **/
    13181318        while ( substr_count( $url, '(' ) < substr_count( $url, ')' ) ) {
    1319                 $suffix = strrchr( $url, ')' ) . $suffix; 
    1320                 $url = substr( $url, 0, strrpos( $url, ')' ) ); 
     1319                $suffix = strrchr( $url, ')' ) . $suffix;
     1320                $url = substr( $url, 0, strrpos( $url, ')' ) );
    13211321        }
    13221322
Note: See TracChangeset for help on using the changeset viewer.