Changeset 28497 for trunk/src/wp-admin/includes/media.php
- Timestamp:
- 05/19/2014 01:58:28 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/media.php
r28407 r28497 2296 2296 else 2297 2297 $class = ''; 2298 $type_links[] = "<li><a href='" . esc_url(add_query_arg(array('post_mime_type'=>'all', 'paged'=>false, 'm'=>false))) . "'$class>".__('All Types')."</a>";2298 $type_links[] = '<li><a href="' . esc_url(add_query_arg(array('post_mime_type'=>'all', 'paged'=>false, 'm'=>false))) . '"' . $class . '>' . __('All Types') . '</a>'; 2299 2299 foreach ( $post_mime_types as $mime_type => $label ) { 2300 2300 $class = ''; … … 2306 2306 $class = ' class="current"'; 2307 2307 2308 $type_links[] = "<li><a href='" . esc_url(add_query_arg(array('post_mime_type'=>$mime_type, 'paged'=>false))) . "'$class>" . sprintf( translate_nooped_plural( $label[2], $num_posts[$mime_type] ), "<span id='$mime_type-counter'>". number_format_i18n( $num_posts[$mime_type] ) . '</span>') . '</a>';2308 $type_links[] = '<li><a href="' . esc_url(add_query_arg(array('post_mime_type'=>$mime_type, 'paged'=>false))) . '"' . $class . '>' . sprintf( translate_nooped_plural( $label[2], $num_posts[$mime_type] ), '<span id="' . $mime_type . '-counter">' . number_format_i18n( $num_posts[$mime_type] ) . '</span>') . '</a>'; 2309 2309 } 2310 2310 /**
Note: See TracChangeset
for help on using the changeset viewer.