Skip to content

Commit 62dfd32

Browse files
committed
Twenty Twenty: Fix typo and improve param description for twentytwenty_read_more_tag().
Follow-up to [61302]. Props sabernhardt. See #64277, #64224. Built from https://develop.svn.wordpress.org/trunk@61319 git-svn-id: https://core.svn.wordpress.org/trunk@60631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
1 parent 54233e7 commit 62dfd32

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

wp-content/themes/twentytwenty/functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ function twentytwenty_block_editor_settings() {
635635
* Overwrite default more tag with styling and screen reader markup.
636636
*
637637
* @param string $html The default output HTML for the more tag.
638-
* @return string The the read more link wrapped in a `div`.
638+
* @return string Read More link element, wrapped in a `div`.
639639
*/
640640
function twentytwenty_read_more_tag( $html ) {
641641
return preg_replace( '/<a(.*)>(.*)<\/a>/iU', sprintf( '<div class="read-more-button-wrap"><a$1><span class="faux-button">$2</span> <span class="screen-reader-text">"%1$s"</span></a></div>', get_the_title( get_the_ID() ) ), $html );

wp-includes/version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* @global string $wp_version
1818
*/
19-
$wp_version = '7.0-alpha-61317';
19+
$wp_version = '7.0-alpha-61319';
2020

2121
/**
2222
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

0 commit comments

Comments
 (0)