Changeset 45349 for branches/5.2/src/wp-includes/formatting.php
- Timestamp:
- 05/17/2019 12:11:06 PM (5 years ago)
- Location:
- branches/5.2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.2
-
branches/5.2/src/wp-includes/formatting.php
r45240 r45349 3095 3095 $rel = 'rel=' . $delimiter . trim( implode( ' ', $parts ) ) . $delimiter; 3096 3096 $link_html = str_replace( $rel_match[0], $rel, $link_html ); 3097 } elseif ( preg_match( '|target\s*=\s*?\\\\"|', $link_html ) ) { 3098 $link_html .= " rel=\\\"$rel\\\""; 3099 } elseif ( preg_match( '#(target|href)\s*=\s*?\'#', $link_html ) ) { 3100 $link_html .= " rel='$rel'"; 3097 3101 } else { 3098 3102 $link_html .= " rel=\"$rel\"";
Note: See TracChangeset
for help on using the changeset viewer.