- 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-posts-list-table.php
r41576 r41683 232 232 $url = add_query_arg( $args, 'edit.php' ); 233 233 234 $class_html = '';234 $class_html = $aria_current = ''; 235 235 if ( ! empty( $class ) ) { 236 236 $class_html = sprintf( … … 238 238 esc_attr( $class ) 239 239 ); 240 241 if ( 'current' === $class ) { 242 $aria_current = ' aria-current="page"'; 243 } 240 244 } 241 245 242 246 return sprintf( 243 '<a href="%s"%s >%s</a>',247 '<a href="%s"%s%s>%s</a>', 244 248 esc_url( $url ), 245 249 $class_html, 250 $aria_current, 246 251 $label 247 252 );
Note: See TracChangeset
for help on using the changeset viewer.