Text Changes: Use consistent question wording for plugin and theme deletion confirmations.

Props johnjamesjacoby, Presskopp.
Fixes #44878.
Built from https://develop.svn.wordpress.org/trunk@45597


git-svn-id: http://core.svn.wordpress.org/trunk@45408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2019-07-04 09:56:57 +00:00
parent abe3ec288b
commit 4af4c78a27
3 changed files with 5 additions and 5 deletions

View File

@ -146,9 +146,9 @@ if ( $action ) {
?>
</ul>
<?php if ( 1 == $themes_to_delete ) : ?>
<p><?php _e( 'Are you sure you wish to delete this theme?' ); ?></p>
<p><?php _e( 'Are you sure you want to delete this theme?' ); ?></p>
<?php else : ?>
<p><?php _e( 'Are you sure you wish to delete these themes?' ); ?></p>
<p><?php _e( 'Are you sure you want to delete these themes?' ); ?></p>
<?php endif; ?>
<form method="post" action="<?php echo esc_url( $_SERVER['REQUEST_URI'] ); ?>" style="display:inline;">
<input type="hidden" name="verify-delete" value="1" />

View File

@ -346,9 +346,9 @@ if ( $action ) {
<p>
<?php
if ( $data_to_delete ) {
_e( 'Are you sure you wish to delete these files and data?' );
_e( 'Are you sure you want to delete these files and data?' );
} else {
_e( 'Are you sure you wish to delete these files?' );
_e( 'Are you sure you want to delete these files?' );
}
?>
</p>

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.3-alpha-45596';
$wp_version = '5.3-alpha-45597';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.