Ticket #28853: 28853.3.patch
File 28853.3.patch, 1.8 KB (added by , 5 years ago) |
---|
-
wp-admin/includes/class-wp-plugin-install-list-table.php
374 374 switch ( $status['status'] ) { 375 375 case 'install': 376 376 if ( $status['url'] ) { 377 $action_links[] = '<a class="install-now button" href="' . $status['url'] . '" aria-label ledby="' . $plugin['slug']. '">' . __( 'Install Now' ) . '</a>';377 $action_links[] = '<a class="install-now button" href="' . $status['url'] . '" aria-label="' . esc_attr( sprintf( __( 'Install %s now' ), $name ) ) . '">' . __( 'Install Now' ) . '</a>'; 378 378 } 379 379 380 380 break; 381 381 case 'update_available': 382 382 if ( $status['url'] ) { 383 $action_links[] = '<a class="button" href="' . $status['url'] . '" aria-label ledby="' . $plugin['slug']. '">' . __( 'Update Now' ) . '</a>';383 $action_links[] = '<a class="button" href="' . $status['url'] . '" aria-label="' . esc_attr( sprintf( __( 'Update %s now' ), $name ) ) . '">' . __( 'Update Now' ) . '</a>'; 384 384 } 385 385 386 386 break; … … 394 394 $details_link = self_admin_url( 'plugin-install.php?tab=plugin-information&plugin=' . $plugin['slug'] . 395 395 '&TB_iframe=true&width=600&height=550' ); 396 396 397 $action_links[] = '<a href="' . esc_url( $details_link ) . '" class="thickbox" aria-label ledby="' . $plugin['slug']. '" data-title="' . esc_attr( $name ) . '">' . __( 'More Details' ) . '</a>';397 $action_links[] = '<a href="' . esc_url( $details_link ) . '" class="thickbox" aria-label="' . esc_attr( sprintf( __( 'More information about %s' ), $name ) ) . '" data-title="' . esc_attr( $name ) . '">' . __( 'More Details' ) . '</a>'; 398 398 399 399 400 400 /**