WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/27/2014 02:38:48 AM (7 years ago)
Author:
helen
Message:

Make sure inputs in Press This have a type so they are styled appropriately. see #18380.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/press-this.php

    r27696 r27772  
    145145            <div class="titlediv">
    146146                <div class="titlewrap">
    147                     <input id="tb_this_photo_description" name="photo_description" class="tb_this_photo_description tbtitle text" onkeypress="if(event.keyCode==13) image_selector(this);" value="<?php echo esc_attr($title);?>"/>
     147                    <input id="tb_this_photo_description" name="photo_description" class="tb_this_photo_description tbtitle text" type="text" onkeypress="if(event.keyCode==13) image_selector(this);" value="<?php echo esc_attr($title);?>"/>
    148148                </div>
    149149            </div>
     
    607607        <div id="titlediv">
    608608            <div class="titlewrap">
    609                 <input name="title" id="title" class="text" value="<?php echo esc_attr($title);?>"/>
     609                <input name="title" id="title" class="text" type="text" value="<?php echo esc_attr($title);?>"/>
    610610            </div>
    611611        </div>
Note: See TracChangeset for help on using the changeset viewer.