Changeset 22173 for trunk/wp-includes/media.php
- Timestamp:
- 10/10/2012 11:32:48 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/media.php
r22170 r22173 1346 1346 <% } %> 1347 1347 </div> 1348 <div class="describe"></div> 1348 <% if ( describe ) { %> 1349 <% if ( 'image' === type ) { %> 1350 <textarea class="describe" 1351 placeholder="<?php esc_attr_e('Describe this image…'); ?>" 1352 ><%- caption %></textarea> 1353 <% } else { %> 1354 <textarea class="describe" 1355 <% if ( 'video' === type ) { %> 1356 placeholder="<?php esc_attr_e('Describe this video…'); ?>" 1357 <% } else if ( 'audio' === type ) { %> 1358 placeholder="<?php esc_attr_e('Describe this audio file…'); ?>" 1359 <% } else { %> 1360 placeholder="<?php esc_attr_e('Describe this media file…'); ?>" 1361 <% } %> 1362 ><%- title %></textarea> 1363 <% } %> 1364 <% } %> 1349 1365 </script> 1350 1366
Note: See TracChangeset
for help on using the changeset viewer.