Make WordPress Core


Ignore:
Timestamp:
04/26/2013 12:22:55 PM (12 years ago)
Author:
markjaquith
Message:

Post format UI refresh.

  • Post format switcher does not go away after clicking
  • Refresh of format switcher style
  • Highlighting of active post format
  • Prompt text goes under the switcher
  • Better animations

see #24046. props wonderboymusic, johnjamesjacoby, aaroncampbell, PeteMall.

Also, because I forgot it on [24006]: props saracannon.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/post-formats.php

    r24092 r24098  
    1111?>
    1212<div class="wp-post-format-ui<?php if ( ! $show_post_format_ui ) echo ' no-ui' ?>">
    13     <div class="post-format-change"><span class="icon <?php echo esc_attr( $post_format ); ?>"></span> <span class="post-format-description"><?php echo $all_post_formats[$post_format]['description']; ?></span> <a href="#"><?php _e('Change format'); ?></a></div>
    1413    <div class="post-formats-fields">
    1514
Note: See TracChangeset for help on using the changeset viewer.