- Timestamp:
- 11/05/2019 10:28:25 PM (5 years ago)
- Location:
- branches/5.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.3
-
branches/5.3/src/wp-content/themes/twentytwenty/functions.php
r46614 r46669 567 567 */ 568 568 function twentytwenty_read_more_tag( $html ) { 569 return preg_replace( '/<a .*>(.*)<\/a>/iU', sprintf( '<span class="faux-button">$1</span> <span class="screen-reader-text">"%1$s"</span>', get_the_title( get_the_ID() ) ), $html );569 return preg_replace( '/<a(.*)>(.*)<\/a>/iU', sprintf( '<a$1><span class="faux-button">$2</span> <span class="screen-reader-text">"%1$s"</span></a>', get_the_title( get_the_ID() ) ), $html ); 570 570 } 571 571
Note: See TracChangeset
for help on using the changeset viewer.