WordPress.org

Make WordPress Core

Changeset 23861


Ignore:
Timestamp:
03/29/2013 11:07:09 AM (8 years ago)
Author:
SergeyBiryukov
Message:

Remove duplicate array keys. props kovshenin. see #19570.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/post.php

    r23843 r23861  
    201201    }
    202202
    203     $format_keys = array( 'quote', 'quote_source', 'image', 'gallery', 'image', 'gallery', 'audio', 'video' );
     203    $format_keys = array( 'quote', 'quote_source', 'image', 'gallery', 'audio', 'video' );
    204204
    205205    foreach ( $format_keys as $key ) {
Note: See TracChangeset for help on using the changeset viewer.