Fix typo when setting post_format in Press This.

git-svn-id: http://svn.automattic.com/wordpress/trunk@18870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2011-10-03 16:22:38 +00:00
parent 435b3a0177
commit 40794ebcd5
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ function press_it() {
if ( isset( $_POST['post_format'] ) ) {
if ( current_theme_supports( 'post-formats', $_POST['post_format'] ) )
set_post_format( $post_ID, $_POST['post_format'] );
elseif ( '0' == $post_data['post_format'] )
elseif ( '0' == $_POST['post_format'] )
set_post_format( $post_ID, false );
}