WordPress.org

Make WordPress Core

Changeset 6059


Ignore:
Timestamp:
09/07/2007 02:56:05 AM (11 years ago)
Author:
markjaquith
Message:

focus the cursor when writing a new post. Props foolswisdom and Nazgul. fixes #3936

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-form-advanced.php

    r6049 r6059  
    5858
    5959<?php echo $form_extra ?>
    60 <?php if (isset($_GET['message']) && 2 > $_GET['message']) : ?>
     60<?php if ((isset($post->post_title) && '' == $post->post_title) || (isset($_GET['message']) && 2 > $_GET['message'])) : ?>
    6161<script type="text/javascript">
    6262function focusit() {
Note: See TracChangeset for help on using the changeset viewer.