WordPress.org

Make WordPress Core

Changeset 18870


Ignore:
Timestamp:
10/03/2011 04:22:38 PM (7 years ago)
Author:
azaozz
Message:

Fix typo when setting post_format in Press This.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/press-this.php

    r18721 r18870  
    6767            if ( current_theme_supports( 'post-formats', $_POST['post_format'] ) )
    6868                set_post_format( $post_ID, $_POST['post_format'] );
    69             elseif ( '0' == $post_data['post_format'] )
     69            elseif ( '0' == $_POST['post_format'] )
    7070                set_post_format( $post_ID, false );
    7171        }
Note: See TracChangeset for help on using the changeset viewer.