| + | admin_image_div_callback ) { diff --git a/src/wp-admin/includes/class-custom-image-header.php b/src/wp-admin/includes/class-custom-image-header.php index eb65605728062..82c1aca0ed152 100644 --- a/src/wp-admin/includes/class-custom-image-header.php +++ b/src/wp-admin/includes/class-custom-image-header.php @@ -550,7 +550,7 @@ public function step_1() { | |
|---|---|---|
| + |
admin_image_div_callback ) {
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 75d084e55aa4c..8e09bbeb0b4ff 100644
--- a/src/wp-admin/includes/class-wp-posts-list-table.php
+++ b/src/wp-admin/includes/class-wp-posts-list-table.php
@@ -1548,7 +1548,7 @@ protected function handle_row_actions( $item, $column_name, $primary ) {
esc_url( $preview_link ),
/* translators: %s: Post title. */
esc_attr( sprintf( __( 'Preview “%s”' ), $title ) ),
- __( 'Preview' )
+ _x( 'Preview', 'verb' )
);
}
} 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 696b088d1d716..6e7b9d9279015 100644
--- a/src/wp-admin/includes/class-wp-theme-install-list-table.php
+++ b/src/wp-admin/includes/class-wp-theme-install-list-table.php
@@ -345,7 +345,7 @@ public function single_row( $theme ) {
'%s',
esc_url( $preview_url ),
esc_attr( $preview_title ),
- __( 'Preview' )
+ _x( 'Preview', 'verb' )
);
/**
diff --git a/src/wp-admin/includes/meta-boxes.php b/src/wp-admin/includes/meta-boxes.php
index 0884c110b65bd..535a00cd3fe94 100644
--- a/src/wp-admin/includes/meta-boxes.php
+++ b/src/wp-admin/includes/meta-boxes.php
@@ -70,7 +70,7 @@ function post_submit_meta_box( $post, $args = array() ) {
if ( 'publish' === $post->post_status ) {
$preview_button_text = __( 'Preview Changes' );
} else {
- $preview_button_text = __( 'Preview' );
+ $preview_button_text = _x( 'Preview', 'verb' );
}
$preview_button = sprintf(
diff --git a/src/wp-admin/includes/post.php b/src/wp-admin/includes/post.php
index 8d52c1487a7a5..d32f5d6889e58 100644
--- a/src/wp-admin/includes/post.php
+++ b/src/wp-admin/includes/post.php
@@ -1900,7 +1900,7 @@ function _admin_notice_post_locked() {
- + <# } #> <# } else { #> - + <# } #> <# } else { #> <# } else { #> - + <# } #> <# } #> <# } else { #> @@ -445,14 +445,14 @@ $aria_label = sprintf( _x( 'Install %s', 'theme' ), '{{ data.name }}' ); ?> - + <# } else { #> - + <# } #> <# } #> @@ -605,7 +605,7 @@ diff --git a/src/wp-includes/class-wp-customize-manager.php b/src/wp-includes/class-wp-customize-manager.php index 961910e011d12..381d1db600c0e 100644 --- a/src/wp-includes/class-wp-customize-manager.php +++ b/src/wp-includes/class-wp-customize-manager.php @@ -4333,7 +4333,7 @@ public function render_control_templates() { <# if ( data.returnUrl !== data.previewUrl ) { #> <# } #> - + <# if ( data.allowOverride ) { #> <# } #> diff --git a/src/wp-includes/class-wp-editor.php b/src/wp-includes/class-wp-editor.php index 7ddd60fe871b4..16884bdd4b02a 100644 --- a/src/wp-includes/class-wp-editor.php +++ b/src/wp-includes/class-wp-editor.php @@ -1252,7 +1252,7 @@ private static function get_translation() { 'Nonbreaking space' => __( 'Nonbreaking space' ), 'Page break' => __( 'Page break' ), 'Paste as text' => __( 'Paste as text' ), - 'Preview' => __( 'Preview' ), + 'Preview' => _x( 'Preview', 'verb' ), 'Print' => __( 'Print' ), 'Save' => __( 'Save' ), 'Fullscreen' => __( 'Fullscreen' ), |