Skip to content

Commit

Permalink
Text Changes: Use consistent question wording for plugin and theme de…
Browse files Browse the repository at this point in the history
…letion confirmations.

Props johnjamesjacoby, Presskopp.
Fixes #44878.

git-svn-id: https://develop.svn.wordpress.org/trunk@45597 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
SergeyBiryukov committed Jul 4, 2019
1 parent fdc5010 commit e083a92
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/wp-admin/network/themes.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,9 @@
?>
</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" />
Expand Down
4 changes: 2 additions & 2 deletions src/wp-admin/plugins.php
Original file line number Diff line number Diff line change
Expand Up @@ -346,9 +346,9 @@
<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>
Expand Down

0 comments on commit e083a92

Please sign in to comment.