From 277d5a633e8319ef325f32fdb1151da351d00221 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Thu, 7 Aug 2014 02:55:18 +0000 Subject: [PATCH] After [29201], use `aria-label` instead of `aria-labelledby` in `WP_Plugin_Install_List_Table::display_rows()`. Props nvwd, DrewAPicture. Fixes #28853. git-svn-id: https://develop.svn.wordpress.org/trunk@29424 602fd350-edb4-49c9-b593-d223f7449a82 --- .../includes/class-wp-plugin-install-list-table.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/wp-admin/includes/class-wp-plugin-install-list-table.php b/src/wp-admin/includes/class-wp-plugin-install-list-table.php index 6a00c30b09..6f9dbcb32e 100644 --- a/src/wp-admin/includes/class-wp-plugin-install-list-table.php +++ b/src/wp-admin/includes/class-wp-plugin-install-list-table.php @@ -375,13 +375,15 @@ class WP_Plugin_Install_List_Table extends WP_List_Table { switch ( $status['status'] ) { case 'install': if ( $status['url'] ) { - $action_links[] = '' . __( 'Install Now' ) . ''; + /* translators: 1: Plugin name and version. */ + $action_links[] = '' . __( 'Install Now' ) . ''; } break; case 'update_available': if ( $status['url'] ) { - $action_links[] = '' . __( 'Update Now' ) . ''; + /* translators: 1: Plugin name and version */ + $action_links[] = '' . __( 'Update Now' ) . ''; } break; @@ -395,7 +397,8 @@ class WP_Plugin_Install_List_Table extends WP_List_Table { $details_link = self_admin_url( 'plugin-install.php?tab=plugin-information&plugin=' . $plugin['slug'] . '&TB_iframe=true&width=600&height=550' ); - $action_links[] = '' . __( 'More Details' ) . ''; + /* translators: 1: Plugin name and version. */ + $action_links[] = '' . __( 'More Details' ) . ''; /**