Changeset 23985 for trunk/wp-admin/includes/post-formats.php
- Timestamp:
- 04/14/2013 01:21:47 AM (13 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/post-formats.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/post-formats.php
r23940 r23985 70 70 </div> 71 71 <?php endif; ?> 72 <label for="wp_format_video"><?php _e( 'Video embed code or URL' ); ?></label> 72 <label for="wp_format_video"><?php 73 if ( current_user_can( 'unfiltered_html' ) ) 74 _e( 'Video embed code or URL' ); 75 else 76 _e( 'Video URL' ); 77 ?></label> 73 78 <textarea id="wp_format_video" type="text" name="_wp_format_video" class="widefat"><?php esc_html_e( $format_meta['video'] ); ?></textarea> 74 79 <div data-format="video" class="wp-format-media-holder hide-if-no-js<?php if ( ! $image ) echo ' empty'; ?>"> … … 104 109 </div> 105 110 <?php endif; ?> 106 <label for="wp_format_audio"><?php _e( 'Audio embed code or URL' ); ?></label> 111 <label for="wp_format_audio"><?php 112 if ( current_user_can( 'unfiltered_html' ) ) 113 _e( 'Audio embed code or URL' ); 114 else 115 _e( 'Audio URL' ); 116 ?></label> 107 117 <textarea id="wp_format_audio" name="_wp_format_audio" class="widefat"><?php esc_html_e( $format_meta['audio'] ); 108 118 ?></textarea>
Note: See TracChangeset
for help on using the changeset viewer.