- 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-theme-install-list-table.php
r41161 r41683 171 171 $display_tabs = array(); 172 172 foreach ( (array) $tabs as $action => $text ) { 173 $c lass = ( $action === $tab ) ? ' class="current"' : '';173 $current_link_attributes = ( $action === $tab ) ? ' class="current" aria-current="page"' : ''; 174 174 $href = self_admin_url('theme-install.php?tab=' . $action); 175 $display_tabs['theme-install-'.$action] = "<a href='$href'$c lass>$text</a>";175 $display_tabs['theme-install-'.$action] = "<a href='$href'$current_link_attributes>$text</a>"; 176 176 } 177 177
Note: See TracChangeset
for help on using the changeset viewer.