- Timestamp:
- 10/02/2017 07:43:02 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php
r41612 r41683 287 287 $display_tabs = array(); 288 288 foreach ( (array) $tabs as $action => $text ) { 289 $c lass = ( $action === $tab ) ? ' current' : '';289 $current_link_attributes = ( $action === $tab ) ? ' class="current" aria-current="page"' : ''; 290 290 $href = self_admin_url('plugin-install.php?tab=' . $action); 291 $display_tabs['plugin-install-'.$action] = "<a href='$href' class='$class'>$text</a>";291 $display_tabs['plugin-install-'.$action] = "<a href='$href'$current_link_attributes>$text</a>"; 292 292 } 293 293 // No longer a real tab.
Note: See TracChangeset
for help on using the changeset viewer.