Make sure inputs in Press This have a type so they are styled appropriately. see #18380.
Built from https://develop.svn.wordpress.org/trunk@27772 git-svn-id: http://core.svn.wordpress.org/trunk@27609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2406bba954
commit
56a2b67e21
|
@ -144,7 +144,7 @@ if ( !empty($_REQUEST['ajax']) ) {
|
||||||
<h3 class="tb"><label for="tb_this_photo_description"><?php _e('Description') ?></label></h3>
|
<h3 class="tb"><label for="tb_this_photo_description"><?php _e('Description') ?></label></h3>
|
||||||
<div class="titlediv">
|
<div class="titlediv">
|
||||||
<div class="titlewrap">
|
<div class="titlewrap">
|
||||||
<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);?>"/>
|
<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);?>"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -606,7 +606,7 @@ $admin_body_class .= ' locale-' . sanitize_html_class( strtolower( str_replace(
|
||||||
|
|
||||||
<div id="titlediv">
|
<div id="titlediv">
|
||||||
<div class="titlewrap">
|
<div class="titlewrap">
|
||||||
<input name="title" id="title" class="text" value="<?php echo esc_attr($title);?>"/>
|
<input name="title" id="title" class="text" type="text" value="<?php echo esc_attr($title);?>"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue