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:
parent
435b3a0177
commit
40794ebcd5
|
@ -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 );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue