WordPress.org

Make WordPress Core

Ticket #33239: 33239.1.patch

File 33239.1.patch, 1021 bytes (added by jmayhak, 4 years ago)
  • src/wp-admin/plugins.php

     
    431431                if ( is_wp_error($delete_result) ) : ?>
    432432                <div id="message" class="error notice is-dismissible"><p><?php printf( __('Plugin could not be deleted due to an error: %s'), $delete_result->get_error_message() ); ?></p></div>
    433433                <?php else : ?>
    434                 <div id="message" class="updated notice is-dismissible"><p><?php _e('The selected plugins have been <strong>deleted</strong>.'); ?></p></div>
     434                <div id="message" class="updated notice is-dismissible"><p><?php ($plugins_to_delete > 1) ? _e('The selected plugins have been <strong>deleted</strong>.') : _e('The selected plugin has been <strong>deleted</strong>.'); ?></p></div>
    435435                <?php endif; ?>
    436436<?php elseif ( isset($_GET['activate']) ) : ?>
    437437        <div id="message" class="updated notice is-dismissible"><p><?php _e('Plugin <strong>activated</strong>.') ?></p></div>