Plugins: Make the message displayed when no plugins are installed more concise.
Props johnjamesjacoby, Presskopp. Fixes #42336. git-svn-id: https://develop.svn.wordpress.org/trunk@47894 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
4ac1670efe
commit
112c2c456a
@ -941,7 +941,7 @@
|
||||
$views.find( '.all' ).remove();
|
||||
|
||||
if ( ! $form.find( 'tr.no-items' ).length ) {
|
||||
$form.find( '#the-list' ).append( '<tr class="no-items"><td class="colspanchange" colspan="' + columnCount + '">' + __( 'You do not appear to have any plugins available at this time.' ) + '</td></tr>' );
|
||||
$form.find( '#the-list' ).append( '<tr class="no-items"><td class="colspanchange" colspan="' + columnCount + '">' + __( 'No plugins are currently available.' ) + '</td></tr>' );
|
||||
}
|
||||
}
|
||||
} );
|
||||
|
@ -276,7 +276,7 @@ class WP_MS_Themes_List_Table extends WP_List_Table {
|
||||
if ( $this->has_items ) {
|
||||
_e( 'No themes found.' );
|
||||
} else {
|
||||
_e( 'You do not appear to have any themes available at this time.' );
|
||||
_e( 'No themes are currently available.' );
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -384,7 +384,7 @@ class WP_Plugins_List_Table extends WP_List_Table {
|
||||
} elseif ( ! empty( $plugins['all'] ) ) {
|
||||
_e( 'No plugins found.' );
|
||||
} else {
|
||||
_e( 'You do not appear to have any plugins available at this time.' );
|
||||
_e( 'No plugins are currently available.' );
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -28,7 +28,7 @@ if ( empty( $plugins ) ) {
|
||||
?>
|
||||
<div class="wrap">
|
||||
<h1><?php echo esc_html( $title ); ?></h1>
|
||||
<div id="message" class="error"><p><?php _e( 'You do not appear to have any plugins available at this time.' ); ?></p></div>
|
||||
<div id="message" class="error"><p><?php _e( 'No plugins are currently available.' ); ?></p></div>
|
||||
</div>
|
||||
<?php
|
||||
require_once ABSPATH . 'wp-admin/admin-footer.php';
|
||||
|
Loading…
Reference in New Issue
Block a user