Make WordPress Core

Changeset 45597


Ignore:
Timestamp:
07/04/2019 09:55:13 AM (7 years ago)
Author:
SergeyBiryukov
Message:

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

Props johnjamesjacoby, Presskopp.
Fixes #44878.

Location:
trunk/src/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/network/themes.php

    r45140 r45597  
    147147                                        </ul>
    148148                                <?php if ( 1 == $themes_to_delete ) : ?>
    149                                         <p><?php _e( 'Are you sure you wish to delete this theme?' ); ?></p>
     149                                        <p><?php _e( 'Are you sure you want to delete this theme?' ); ?></p>
    150150                                <?php else : ?>
    151                                         <p><?php _e( 'Are you sure you wish to delete these themes?' ); ?></p>
     151                                        <p><?php _e( 'Are you sure you want to delete these themes?' ); ?></p>
    152152                                <?php endif; ?>
    153153                                <form method="post" action="<?php echo esc_url( $_SERVER['REQUEST_URI'] ); ?>" style="display:inline;">
  • trunk/src/wp-admin/plugins.php

    r45583 r45597  
    347347                                <?php
    348348                                if ( $data_to_delete ) {
    349                                         _e( 'Are you sure you wish to delete these files and data?' );
     349                                        _e( 'Are you sure you want to delete these files and data?' );
    350350                                } else {
    351                                         _e( 'Are you sure you wish to delete these files?' );
     351                                        _e( 'Are you sure you want to delete these files?' );
    352352                                }
    353353                                ?>
Note: See TracChangeset for help on using the changeset viewer.