- Timestamp:
- 09/19/2022 09:06:08 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-plugins-list-table.php
r54062 r54215 577 577 578 578 if ( 'search' !== $type ) { 579 $status_links[ $type ] = sprintf( 580 "<a href='%s'%s>%s</a>", 581 add_query_arg( 'plugin_status', $type, 'plugins.php' ), 582 ( $type === $status ) ? ' class="current" aria-current="page"' : '', 583 sprintf( $text, number_format_i18n( $count ) ) 579 $status_links[ $type ] = array( 580 'url' => add_query_arg( 'plugin_status', $type, 'plugins.php' ), 581 'label' => sprintf( $text, number_format_i18n( $count ) ), 582 'current' => $type === $status, 584 583 ); 585 584 } 586 585 } 587 586 588 return $ status_links;587 return $this->get_views_links( $status_links ); 589 588 } 590 589
Note: See TracChangeset
for help on using the changeset viewer.