@@ -67,6+82,9 @@ class WP_Themes_List_Table extends WP_List_Table {
) );
}
) );
}
+ /**
+ * @access public
+ */
public function no_items() {
if ( $this->search_terms || $this->features ) {
_e( 'No items found.' );
public function no_items() {
if ( $this->search_terms || $this->features ) {
_e( 'No items found.' );
@@ -86,7+104,7 @@ class WP_Themes_List_Table extends WP_List_Table {
// Else, fallthrough. install_themes doesn't help if you can't enable it.
} else {
if ( current_user_can( 'install_themes' ) ) {
// Else, fallthrough. install_themes doesn't help if you can't enable it.
} else {
if ( current_user_can( 'install_themes' ) ) {
- 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' ) );
+ printf( __( 'You only have one theme installed right now. Live a little! You can choose from over 1,000 free themes in the WordPress Theme Directory at any time: just click on the <a href="%s">Install Themes</a> tab above.' ), admin_url( 'theme-install.php' ) );
return;
}
return;
}
@@ -97,7+115,6 @@ class WP_Themes_List_Table extends WP_List_Table {
/**
* @param string $which
/**
* @param string $which
- * @return null
*/
public function tablenav( $which = 'top' ) {
if ( $this->get_pagination_arg( 'total_pages' ) <= 1 )
*/
public function tablenav( $which = 'top' ) {
if ( $this->get_pagination_arg( 'total_pages' ) <= 1 )
@@ -111,6+128,9 @@ class WP_Themes_List_Table extends WP_List_Table {