When I want to use the image post format, I can choose an image, of course, or change it. But what if I want to remove it? Since the field containing the image ID is hidden, there is no way to empty it.
<a class="wp-format-media-remove button hide-if-no-js" data-placeholder="<?php esc_attr_e('Select / Upload Image'); ?>" href="#"><?php _e('Remove Image'); ?></a>
Also, I noticed something weird about the input:
– The label has the class screen-reader-text, so it is accessible, good.
– The input has a placeholder attribute, so it is intended to be displayed at some point, but its type is… hidden 🙁
I think there’s a confusion somewhere, I think both label and input should have the hide-if-js class (not screen-reader-text), or be completely hidden (and remove the placeholder attribute, useless in this case).
Side-note: some filters/actions would be much appreciated in this new UI 🙂
- The topic ‘3.6b1 Remove the meta from image post format’ is closed to new replies.