Plugins: Make the message displayed when no plugins are installed more concise.

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


git-svn-id: http://core.svn.wordpress.org/trunk@47668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-06-03 10:51:13 +00:00
parent b247cafd91
commit cf597dcf7c
6 changed files with 6 additions and 6 deletions

View File

@ -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.' );
}
}

View File

@ -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.' );
}
}

View File

@ -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>' );
}
}
} );

File diff suppressed because one or more lines are too long

View File

@ -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';

View File

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