Make WordPress Core

Ticket #16196: 16196.patch

File 16196.patch, 564 bytes (added by solarissmoke, 14 years ago)

Don't show empty "available themes" table, and link to theme-install.php

  • wp-admin/themes.php

     
    194194</form>
    195195<br class="clear" />
    196196
     197<?php $wp_list_table->display(); ?>
     198
     199<?php else: ?>
     200
     201<p><?php printf( __('You don\'t have any other themes installed at the moment. You could always <a href="%s">search for a new theme</a>.'), admin_url('theme-install.php') );?></p>
     202
    197203<?php endif; ?>
    198204
    199 <?php $wp_list_table->display(); ?>
    200 
    201205<br class="clear" />
    202206
    203207<?php