Fix typo when setting post_format in Press This.

git-svn-id: https://develop.svn.wordpress.org/trunk@18870 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2011-10-03 16:22:38 +00:00
parent 88a57f003a
commit 68214afb44
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 );
}