Ticket #24116: 24116.3.diff
| File 24116.3.diff, 529 bytes (added by , 13 years ago) |
|---|
-
wp-admin/edit-form-advanced.php
139 139 140 140 if ( ! $post_format ) { 141 141 $post_format = 'standard'; 142 if ( ! empty( $_REQUEST['post_format'] ) && in_array( $_REQUEST['post_format'], get_post_format_slugs() ) ) 143 $post_format = $_REQUEST['post_format']; 144 142 145 if ( 'auto-draft' == $post->post_status ) 143 146 $post_format_set_class = ''; 144 147 }