WordPress.org

Make WordPress Core

Changeset 47894


Ignore:
Timestamp:
06/03/2020 10:49:45 AM (4 months ago)
Author:
SergeyBiryukov
Message:

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

Props johnjamesjacoby, Presskopp.
Fixes #42336.

Location:
trunk/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/js/_enqueues/wp/updates.js

    r47884 r47894  
    942942
    943943                if ( ! $form.find( 'tr.no-items' ).length ) {
    944                     $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>' );
     944                    $form.find( '#the-list' ).append( '<tr class="no-items"><td class="colspanchange" colspan="' + columnCount + '">' + __( 'No plugins are currently available.' ) + '</td></tr>' );
    945945                }
    946946            }
  • trunk/src/wp-admin/includes/class-wp-ms-themes-list-table.php

    r47835 r47894  
    277277            _e( 'No themes found.' );
    278278        } else {
    279             _e( 'You do not appear to have any themes available at this time.' );
     279            _e( 'No themes are currently available.' );
    280280        }
    281281    }
  • trunk/src/wp-admin/includes/class-wp-plugins-list-table.php

    r47835 r47894  
    385385            _e( 'No plugins found.' );
    386386        } else {
    387             _e( 'You do not appear to have any plugins available at this time.' );
     387            _e( 'No plugins are currently available.' );
    388388        }
    389389    }
  • trunk/src/wp-admin/plugin-editor.php

    r47855 r47894  
    2929    <div class="wrap">
    3030        <h1><?php echo esc_html( $title ); ?></h1>
    31         <div id="message" class="error"><p><?php _e( 'You do not appear to have any plugins available at this time.' ); ?></p></div>
     31        <div id="message" class="error"><p><?php _e( 'No plugins are currently available.' ); ?></p></div>
    3232    </div>
    3333    <?php
Note: See TracChangeset for help on using the changeset viewer.