Changeset 44841
- Timestamp:
- 03/12/2019 10:26:13 PM (6 years ago)
- Location:
- branches/4.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.4
-
branches/4.4/src/wp-includes/formatting.php
r37810 r44841 2357 2357 $html = ''; 2358 2358 foreach ( $atts as $name => $value ) { 2359 $html .= "{$name}=\" $value\" ";2359 $html .= "{$name}=\"" . esc_attr( $value ) . "\" "; 2360 2360 } 2361 2361 $text = trim( $html ); 2362 2362 } 2363 return "<a $text rel=\" $rel\">";2363 return "<a $text rel=\"" . esc_attr( $rel ) . "\">"; 2364 2364 } 2365 2365
Note: See TracChangeset
for help on using the changeset viewer.