Accessibility: Remove title attributes from the Plugin Cards on the Plugin install screen.
Fixes #35050. Built from https://develop.svn.wordpress.org/trunk@35953 git-svn-id: http://core.svn.wordpress.org/trunk@35917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6dac60da98
commit
c69481a410
|
@ -467,7 +467,7 @@ class WP_Plugin_Install_List_Table extends WP_List_Table {
|
|||
break;
|
||||
case 'latest_installed':
|
||||
case 'newer_installed':
|
||||
$action_links[] = '<span class="button button-disabled" title="' . esc_attr__( 'This plugin is already installed and is up to date' ) . ' ">' . _x( 'Installed', 'plugin' ) . '</span>';
|
||||
$action_links[] = '<span class="button button-disabled">' . _x( 'Installed', 'plugin' ) . '</span>';
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -529,9 +529,7 @@ class WP_Plugin_Install_List_Table extends WP_List_Table {
|
|||
<span class="num-ratings">(<?php echo number_format_i18n( $plugin['num_ratings'] ); ?>)</span>
|
||||
</div>
|
||||
<div class="column-updated">
|
||||
<strong><?php _e( 'Last Updated:' ); ?></strong> <span title="<?php echo esc_attr( date_i18n( $date_format, $last_updated_timestamp ) ); ?>">
|
||||
<?php printf( __( '%s ago' ), human_time_diff( $last_updated_timestamp ) ); ?>
|
||||
</span>
|
||||
<strong><?php _e( 'Last Updated:' ); ?></strong> <?php printf( __( '%s ago' ), human_time_diff( $last_updated_timestamp ) ); ?>
|
||||
</div>
|
||||
<div class="column-downloaded">
|
||||
<?php
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.5-alpha-35952';
|
||||
$wp_version = '4.5-alpha-35953';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue