diff --git a/src/wp-admin/includes/class-wp-posts-list-table.php b/src/wp-admin/includes/class-wp-posts-list-table.php
index c7d10fca21..61a31a6bc4 100644
|
a
|
b
|
class WP_Posts_List_Table extends WP_List_Table { |
| 1589 | 1589 | esc_url( $preview_link ), |
| 1590 | 1590 | /* translators: %s: Post title. */ |
| 1591 | 1591 | esc_attr( sprintf( __( 'Preview “%s”' ), $title ) ), |
| 1592 | | __( 'Preview' ) |
| | 1592 | _x( 'Preview', 'post action' ) |
| 1593 | 1593 | ); |
| 1594 | 1594 | } |
| 1595 | 1595 | } elseif ( 'trash' !== $post->post_status ) { |
diff --git a/src/wp-admin/includes/class-wp-theme-install-list-table.php b/src/wp-admin/includes/class-wp-theme-install-list-table.php
index 696b088d1d..836f5f7254 100644
|
a
|
b
|
class WP_Theme_Install_List_Table extends WP_Themes_List_Table { |
| 345 | 345 | '<a class="install-theme-preview" href="%s" aria-label="%s">%s</a>', |
| 346 | 346 | esc_url( $preview_url ), |
| 347 | 347 | esc_attr( $preview_title ), |
| 348 | | __( 'Preview' ) |
| | 348 | _x( 'Preview', 'theme action' ) |
| 349 | 349 | ); |
| 350 | 350 | |
| 351 | 351 | /** |
diff --git a/src/wp-admin/includes/meta-boxes.php b/src/wp-admin/includes/meta-boxes.php
index 0884c110b6..54c98c0eae 100644
|
a
|
b
|
function post_submit_meta_box( $post, $args = array() ) { |
| 70 | 70 | if ( 'publish' === $post->post_status ) { |
| 71 | 71 | $preview_button_text = __( 'Preview Changes' ); |
| 72 | 72 | } else { |
| 73 | | $preview_button_text = __( 'Preview' ); |
| | 73 | $preview_button_text = _x( 'Preview', 'button' ); |
| 74 | 74 | } |
| 75 | 75 | |
| 76 | 76 | $preview_button = sprintf( |
diff --git a/src/wp-includes/class-wp-editor.php b/src/wp-includes/class-wp-editor.php
index 7ddd60fe87..b73016c9a9 100644
|
a
|
b
|
final class _WP_Editors { |
| 1252 | 1252 | 'Nonbreaking space' => __( 'Nonbreaking space' ), |
| 1253 | 1253 | 'Page break' => __( 'Page break' ), |
| 1254 | 1254 | 'Paste as text' => __( 'Paste as text' ), |
| 1255 | | 'Preview' => __( 'Preview' ), |
| | 1255 | 'Preview' => _x( 'Preview', 'editor button' ), |
| 1256 | 1256 | 'Print' => __( 'Print' ), |
| 1257 | 1257 | 'Save' => __( 'Save' ), |
| 1258 | 1258 | 'Fullscreen' => __( 'Fullscreen' ), |