WordPress.org

Make WordPress Core

Changeset 23789


Ignore:
Timestamp:
03/22/2013 06:58:55 PM (9 years ago)
Author:
SergeyBiryukov
Message:

Fix order of in_array() parameters. props lancewillett. see #23570.

File:
1 edited

Legend:

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

    r23775 r23789  
    447447        return '';
    448448
    449     if ( in_array( get_post_format( $post->ID, array( 'link', 'quote' ) ) ) ) {
     449    if ( in_array( get_post_format( $post->ID ), array( 'link', 'quote' ) ) ) {
    450450        $meta = get_post_format_meta( $post->ID );
    451451        if ( ! empty( $meta['url'] ) )
Note: See TracChangeset for help on using the changeset viewer.