Changeset 17228 for trunk/wp-includes/formatting.php
- Timestamp:
- 01/06/2011 04:11:14 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/formatting.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/formatting.php
r17171 r17228 1314 1314 $url = $matches[2]; 1315 1315 $suffix = ''; 1316 1316 1317 1317 /** Include parentheses in the URL only if paired **/ 1318 1318 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, ')' ) ); 1321 1321 } 1322 1322
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)