WordPress.org

Make WordPress Core

Changeset 11149


Ignore:
Timestamp:
05/01/09 17:54:05 (5 years ago)
Author:
ryan
Message:

Add labels to titles. see #9445

Location:
trunk/wp-admin
Files:
2 edited

Legend:

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

    r11109 r11149  
    596596<div id="titlediv"> 
    597597<div id="titlewrap"> 
     598    <label class="hidden" for="title"><?php _e('Title') ?></label> 
    598599    <input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attr( htmlspecialchars( $post->post_title ) ); ?>" id="title" autocomplete="off" /> 
    599600</div> 
  • trunk/wp-admin/edit-page-form.php

    r11110 r11149  
    443443<div id="titlediv"> 
    444444<div id="titlewrap"> 
    445   <input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attr( htmlspecialchars( $post->post_title ) ); ?>" id="title" autocomplete="off" /> 
     445    <label class="hidden" for="title"><?php _e('Title') ?></label> 
     446    <input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attr( htmlspecialchars( $post->post_title ) ); ?>" id="title" autocomplete="off" /> 
    446447</div> 
    447448<div class="inside"> 
Note: See TracChangeset for help on using the changeset viewer.