X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/53f4633144ed68c8b8fb5861f992b5489894a940..607b7e02d77e7326161e8ec15639052d2040f745:/wp-admin/includes/class-wp-theme-install-list-table.php diff --git a/wp-admin/includes/class-wp-theme-install-list-table.php b/wp-admin/includes/class-wp-theme-install-list-table.php index 427c5391..492497ed 100644 --- a/wp-admin/includes/class-wp-theme-install-list-table.php +++ b/wp-admin/includes/class-wp-theme-install-list-table.php @@ -1,11 +1,19 @@ $text ) { - $class = ( $action == $tab ) ? ' class="current"' : ''; + $class = ( $action === $tab ) ? ' class="current"' : ''; $href = self_admin_url('theme-install.php?tab=' . $action); $display_tabs['theme-install-'.$action] = "$text"; } @@ -233,7 +241,7 @@ class WP_Theme_Install_List_Table extends WP_Themes_List_Table { * public 'rating' => float 80 * public 'num_ratings' => int 1 * public 'homepage' => string 'http://wordpress.org/themes/magazine-basic' - * public 'description' => string 'A basic magazine style layout with a fully customizable layout through a backend interface. Designed by c.bavota of Tinker Priest Media.' + * public 'description' => string 'A basic magazine style layout with a fully customizable layout through a back-end interface. Designed by c.bavota of Tinker Priest Media.' * public 'download_link' => string 'http://wordpress.org/themes/download/magazine-basic.1.1.zip' */ public function single_row( $theme ) { @@ -282,7 +290,7 @@ class WP_Theme_Install_List_Table extends WP_Themes_List_Table { $actions[] = '' . __( 'Preview' ) . ''; /** - * Filter the install action links for a theme in the Install Themes list table. + * Filters the install action links for a theme in the Install Themes list table. * * @since 3.4.0 * @@ -294,7 +302,7 @@ class WP_Theme_Install_List_Table extends WP_Themes_List_Table { ?> - +

@@ -404,7 +412,7 @@ class WP_Theme_Install_List_Table extends WP_Themes_List_Table {

screenshot_url ) ): ?> - +
$theme->rating, 'type' => 'percent', 'number' => $theme->num_ratings ) ); ?>