Add 'enter title here' text to title box. see #12591

git-svn-id: https://develop.svn.wordpress.org/trunk@13964 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2010-04-03 10:23:17 +00:00
parent 0ee9424c92
commit 76049e428d
6 changed files with 26 additions and 5 deletions
+1 -1
View File
@@ -192,7 +192,7 @@ $side_meta_boxes = do_meta_boxes($post_type, 'side', $post);
<?php if ( post_type_supports($post_type, 'title') ) { ?>
<div id="titlediv">
<div id="titlewrap">
<label class="screen-reader-text" for="title"><?php _e('Title') ?></label>
<label class="hide-if-no-js" id="title-prompt-text" for="title"><?php _e('Enter title here') ?></label>
<input type="text" name="post_title" size="30" tabindex="1" value="<?php echo esc_attr( htmlspecialchars( $post->post_title ) ); ?>" id="title" autocomplete="off" />
</div>
<div class="inside">