Changeset 43000
- Timestamp:
- 04/24/2018 09:34:59 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/user.php
r42986 r43000 1059 1059 1060 1060 $current_link_attributes = empty( $current_status ) ? ' class="current" aria-current="page"' : ''; 1061 $views['all'] = '<a href="' . esc_url( $admin_url ) . "\" $current_link_attributes>" . esc_html__( 'All' ) . ' (' . absint( array_sum( (array) $counts ) ) . ')</a>';1061 $views['all'] = '<a href="' . esc_url( $admin_url ) . "\" $current_link_attributes>" . esc_html__( 'All' ) . ' <span class="count">(' . absint( array_sum( (array) $counts ) ) . ')</span></a>'; 1062 1062 1063 1063 foreach ( $statuses as $status => $label ) { 1064 1064 $current_link_attributes = $status === $current_status ? ' class="current" aria-current="page"' : ''; 1065 $views[ $status ] = '<a href="' . esc_url( add_query_arg( 'filter-status', $status, $admin_url ) ) . "\" $current_link_attributes>" . esc_html( $label ) . ' (' . absint( $counts->$status ) . ')</a>';1065 $views[ $status ] = '<a href="' . esc_url( add_query_arg( 'filter-status', $status, $admin_url ) ) . "\" $current_link_attributes>" . esc_html( $label ) . ' <span class="count">(' . absint( $counts->$status ) . ')</span></a>'; 1066 1066 } 1067 1067
Note: See TracChangeset
for help on using the changeset viewer.