Ticket #10990: wp-includes--formatting.php.diff
| File wp-includes--formatting.php.diff, 582 bytes (added by , 16 years ago) |
|---|
-
wp-includes/formatting.php
1187 1187 $url = $matches[2]; 1188 1188 1189 1189 $after = ''; 1190 if ( preg_match( '|(.+?)([).,;:]*)$|', $url, $split ) ) { 1191 $url = $split[1]; 1192 $after = $split[2]; 1190 if ( 1191 $matches[0]{0} == '(' 1192 && substr( $matches[0], -1 ) == ')' 1193 ) { 1194 if ( preg_match( '|(.+?)([).,;:]*)$|', $url, $split ) ) { 1195 $url = $split[1]; 1196 $after = $split[2]; 1197 } 1193 1198 } 1194 1199 1195 1200 $url = esc_url($url);