Changeset 20195 for trunk/wp-admin/includes/class-wp-posts-list-table.php
- Timestamp:
- 03/15/2012 05:19:30 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-posts-list-table.php
r20194 r20195 1002 1002 <div class="inline-edit-group"> 1003 1003 <label class="alignleft" for="post_format"> 1004 <span class="title"><?php _e ( 'Post Format' ); ?></span>1004 <span class="title"><?php _ex( 'Format', 'post format' ); ?></span> 1005 1005 <select name="post_format"> 1006 1006 <?php if ( $bulk ) : ?> … … 1009 1009 <option value="0"><?php _ex( 'Standard', 'Post format' ); ?></option> 1010 1010 <?php foreach ( $all_post_formats as $slug => $format ) : 1011 $ supported =in_array( $slug, $post_formats[0] );1012 if ( $bulk && ! $supported )1011 $unsupported = ! in_array( $slug, $post_formats[0] ); 1012 if ( $bulk && $unsupported ) 1013 1013 continue; 1014 1014 ?> 1015 <option value="<?php echo esc_attr( $slug ); ?>"<?php if ( ! $supported ) echo ' class="unsupported"'; ?>><?php echo esc_html( $format ); ?></option>1015 <option value="<?php echo esc_attr( $slug ); ?>"<?php if ( $unsupported ) echo ' class="unsupported"'; ?>><?php echo esc_html( $format ); ?></option> 1016 1016 <?php endforeach; ?> 1017 1017 </select></label>
Note: See TracChangeset
for help on using the changeset viewer.