Skip to content

Commit

Permalink
Revisions: Fix typo in navigation help text.
Browse files Browse the repository at this point in the history
Fixes a typo in the a11y helper text explaining how to navigate revisions. "Change revision by using the left and arrow keys" becomes "Change revision by using the left and right arrow keys".

Follow up to [59225].

Props pedromendonca, sabernhardt, fierevere, swissspidy.
Fixes #62306.




git-svn-id: https://develop.svn.wordpress.org/trunk@59306 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
peterwilsoncc committed Oct 28, 2024
1 parent ea88e1f commit 0fb4f61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wp-admin/includes/revision.php
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ function wp_print_revision_templates() {

<script id="tmpl-revisions-slider-hidden-help" type="text/html">
<h2 class="screen-reader-text"><?php esc_html_e( 'Select a revision' ); ?></h2>
<p id="revisions-slider-hidden-help" hidden><?php esc_html_e( 'Change revision by using the left and arrow keys' ); ?></p>
<p id="revisions-slider-hidden-help" hidden><?php esc_html_e( 'Change revision by using the left and right arrow keys' ); ?></p>
</script>

<script id="tmpl-revisions-checkbox" type="text/html">
Expand Down

0 comments on commit 0fb4f61

Please sign in to comment.