| 1 | Index: wp-admin/press-this.php |
|---|
| 2 | =================================================================== |
|---|
| 3 | --- wp-admin/press-this.php (revision 17252) |
|---|
| 4 | +++ wp-admin/press-this.php (working copy) |
|---|
| 5 | @@ -63,9 +63,6 @@ |
|---|
| 6 | wp_delete_post($post_ID); |
|---|
| 7 | wp_die($upload); |
|---|
| 8 | } else { |
|---|
| 9 | - $quick['ID'] = $post_ID; |
|---|
| 10 | - wp_update_post($quick); |
|---|
| 11 | - |
|---|
| 12 | // Post formats |
|---|
| 13 | if ( current_theme_supports( 'post-formats' ) && isset( $_POST['post_format'] ) ) { |
|---|
| 14 | $post_formats = get_theme_support( 'post-formats' ); |
|---|
| 15 | @@ -78,6 +75,8 @@ |
|---|
| 16 | } |
|---|
| 17 | } |
|---|
| 18 | |
|---|
| 19 | + $quick['ID'] = $post_ID; |
|---|
| 20 | + wp_update_post($quick); |
|---|
| 21 | } |
|---|
| 22 | return $post_ID; |
|---|
| 23 | } |
|---|