Changeset 22603
- Timestamp:
- 11/15/2012 11:53:06 PM (12 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/css/media-views.css
r22595 r22603 604 604 display: block; 605 605 width: 100%; 606 height: 50px;607 606 margin: -1px 0 0; 608 607 padding: 8px; -
trunk/wp-includes/media.php
r22594 r22603 1448 1448 <# if ( data.describe ) { #> 1449 1449 <# if ( 'image' === data.type ) { #> 1450 <textarea class="describe" 1451 placeholder="<?php esc_attr_e('Describe this image…'); ?>" 1452 >{{ data.caption }}</textarea> 1450 <input type="text" value="{{ data.caption }}" class="describe" data-setting="caption" 1451 placeholder="<?php esc_attr_e('Describe this image…'); ?>" /> 1453 1452 <# } else { #> 1454 < textarea class="describe"1453 <input type="text" value="{{ data.title }}" class="describe" data-setting="title" 1455 1454 <# if ( 'video' === data.type ) { #> 1456 1455 placeholder="<?php esc_attr_e('Describe this video…'); ?>" … … 1459 1458 <# } else { #> 1460 1459 placeholder="<?php esc_attr_e('Describe this media file…'); ?>" 1461 <# } #> 1462 >{{ data.title }}</textarea> 1460 <# } #> /> 1463 1461 <# } #> 1464 1462 <# } #>
Note: See TracChangeset
for help on using the changeset viewer.