WordPress.org

Make WordPress Core

Changeset 16759


Ignore:
Timestamp:
12/06/10 21:37:35 (5 years ago)
Author:
nacin
Message:

Don't reference nonexistent tabs. see #15707.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-themes-list-table.php

    r16756 r16759  
    6262 
    6363    function no_items() { 
    64         if ( current_user_can( 'install_themes' ) ) 
    65             printf( __( 'You only have one theme installed right now. Live a little! You can choose from over 1,000 free themes in the WordPress.org Theme Directory at any time: just click on the <em><a href="%s">Install Themes</a></em> tab above.' ), is_multisite() ? network_admin_url( 'theme-install.php' ) : admin_url( 'theme-install.php' ) ); 
    66         else 
     64        if ( current_user_can( 'install_themes' ) ) { 
     65            if ( is_multisite() ) 
     66                printf( 'You only have one theme installed right now. Visit the <a href="%s">Network Admin</a> to install more themes.', network_admin_url( 'theme-install.php' ) ); 
     67            else 
     68                printf( __( 'You only have one theme installed right now. Live a little! You can choose from over 1,000 free themes in the WordPress.org Theme Directory at any time: just click on the <a href="%s">Install Themes</a> tab above.' ), admin_url( 'theme-install.php' ) ); 
     69        } else { 
    6770            printf( __( 'Only the current theme is available to you. Contact the %s administrator for information about accessing additional themes.' ), get_site_option( 'site_name' ) ); 
     71        } 
    6872    } 
    6973 
Note: See TracChangeset for help on using the changeset viewer.