Changeset 33667
- Timestamp:
- 08/20/2015 08:18:35 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-posts-list-table.php
r33666 r33667 1474 1474 <option value="0"><?php echo get_post_format_string( 'standard' ); ?></option> 1475 1475 <?php 1476 1477 foreach ( $post_formats[0] as $format ) { 1478 ?> 1479 <option value="<?php echo esc_attr( $format ); ?>"><?php echo esc_html( get_post_format_string( $format ) ); ?></option> 1480 <?php 1476 if ( is_array( $post_formats[0] ) ) { 1477 foreach ( $post_formats[0] as $format ) { 1478 ?> 1479 <option value="<?php echo esc_attr( $format ); ?>"><?php echo esc_html( get_post_format_string( $format ) ); ?></option> 1480 <?php 1481 } 1481 1482 } 1482 1483 1483 ?> 1484 1484 </select></label>
Note: See TracChangeset
for help on using the changeset viewer.