Ticket #24442: 24442.diff
File 24442.diff, 1.4 KB (added by , 3 years ago) |
---|
-
src/wp-admin/includes/class-wp-ms-themes-list-table.php
718 718 719 719 if ( $theme->get( 'ThemeURI' ) ) { 720 720 /* translators: %s: Theme name. */ 721 $aria_label = sprintf( __( 'Visit %s homepage' ), $theme->display( 'Name' ) );721 $aria_label = sprintf( __( 'Visit theme site for %s' ), $theme->display( 'Name' ) ); 722 722 723 723 $theme_meta[] = sprintf( 724 724 '<a href="%s" aria-label="%s">%s</a>', -
src/wp-admin/includes/class-wp-plugins-list-table.php
1046 1046 __( 'View details' ) 1047 1047 ); 1048 1048 } elseif ( ! empty( $plugin_data['PluginURI'] ) ) { 1049 /* translators: %s: Plugin name. */ 1050 $aria_label = sprintf( __( 'Visit plugin site for %s' ), $plugin_name ); 1051 1049 1052 $plugin_meta[] = sprintf( 1050 '<a href="%s" >%s</a>',1053 '<a href="%s" aria-label="%s">%s</a>', 1051 1054 esc_url( $plugin_data['PluginURI'] ), 1055 esc_attr( $aria_label ), 1052 1056 __( 'Visit plugin site' ) 1053 1057 ); 1054 1058 }