Skip to content

Commit eaf2709

Browse files
committed
Treat comma, colon and semi-colon the same way.
git-svn-id: https://develop.svn.wordpress.org/trunk@11848 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 6ef8544 commit eaf2709

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wp-includes/formatting.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1187,7 +1187,7 @@ function _make_url_clickable_cb($matches) {
11871187
$url = $matches[2];
11881188

11891189
$after = '';
1190-
if ( preg_match( '|(.+?)([).]*)$|', $url, $split ) ) {
1190+
if ( preg_match( '|(.+?)([).,;:]*)$|', $url, $split ) ) {
11911191
$url = $split[1];
11921192
$after = $split[2];
11931193
}

0 commit comments

Comments
 (0)