diff --git a/wp-admin/includes/post-formats.php b/wp-admin/includes/post-formats.php
index 70dad05..eee8666 100644
a
|
b
|
wp_nonce_field( 'show-post-format-ui_' . $post_type, 'show_post_format_ui_nonce' |
46 | 46 | <?php _e( 'Select / Upload Image' ); ?> |
47 | 47 | </a> |
48 | 48 | </div> |
| 49 | |
49 | 50 | <div class="wp-format-image-textarea hide-if-js"> |
50 | 51 | <label for="wp_format_image"><?php |
51 | 52 | if ( current_user_can( 'unfiltered_html' ) ) |
… |
… |
wp_nonce_field( 'show-post-format-ui_' . $post_type, 'show_post_format_ui_nonce' |
55 | 56 | ?></label> |
56 | 57 | <textarea id="wp_format_image" type="text" name="_format_image" class="widefat"><?php echo esc_html( $format_meta['image'] ); ?></textarea> |
57 | 58 | </div> |
58 | | <p class="use-url-or-html hide-if-no-js"><span><?php printf( __( '(or %suse an image URL or HTML%s)' ), '<a href="#">', '</a>' ); ?></span> |
| 59 | <p class="use-url-or-html hide-if-no-js"><span><?php if ( current_user_can( 'unfiltered_html' ) ) : printf( __( '(or %suse an image URL or HTML%s)' ), '<a href="#">', '</a>' ); else : printf( __( '(or %suse an image URL%s)' ), '<a href="#">', '</a>' ); endif; ?></span> |
59 | 60 | <span style="display: none"><?php printf( __( '(or %sselect/upload an image%s)' ), '<a href="#">', '</a>' ); ?></span></p> |
60 | 61 | </div> |
61 | 62 | |