Make WordPress Core


Ignore:
Timestamp:
09/27/2017 08:45:46 AM (7 years ago)
Author:
swissspidy
Message:

Plugins: Improve error messages on plugins screen.

This unifies the layout and wording of error messages on both the plugins screen and the themes screen.

Props tinkerbelly, juhise, Ankit K Gupta, m1tk00, swissspidy, mrahmadawais, danieltj.
Fixes #37430.

File:
1 edited

Legend:

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

    r40586 r41608  
    140140        'searchPlaceholder' => __( 'Search installed themes...' ), // placeholder (no ellipsis)
    141141        'themesFound'       => __( 'Number of Themes found: %d' ),
    142         'noThemesFound'     => __( 'No themes found. Try a different search.' ),
     142        'noThemesFound'     => __( 'No themes found. Try a different search query.' ),
    143143    ),
    144144) );
     
    304304<div class="theme-overlay"></div>
    305305
    306 <p class="no-themes"><?php _e( 'No themes found. Try a different search.' ); ?></p>
     306<p class="no-themes"><?php _e( 'No themes found. Try a different search query.' ); ?></p>
    307307
    308308<?php
Note: See TracChangeset for help on using the changeset viewer.