diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php
index 044e0b3..ffd376f 100644
|
a
|
b
|
if ( post_type_supports( $post_type, 'comments' ) ) |
| 462 | 462 | wp_comment_reply(); |
| 463 | 463 | ?> |
| 464 | 464 | |
| 465 | | <?php if ( (isset($post->post_title) && '' == $post->post_title) || (isset($_GET['message']) && 2 > $_GET['message']) ) : ?> |
| 466 | 465 | <script type="text/javascript"> |
| 467 | | try{document.post.title.focus();}catch(e){} |
| | 466 | try{ |
| | 467 | var post_title = document.post.title; |
| | 468 | if ( post_title.value === '' ) { |
| | 469 | post_title.focus(); |
| | 470 | } |
| | 471 | }catch(e){} |
| 468 | 472 | </script> |
| 469 | | <?php endif; ?> |