mirror of
git://develop.git.wordpress.org/
synced 2025-02-27 01:52:24 +01:00
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:
parent
88a57f003a
commit
68214afb44
@ -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…
x
Reference in New Issue
Block a user