Make WordPress Core


Ignore:
Timestamp:
05/09/2013 10:45:14 PM (14 years ago)
Author:
markjaquith
Message:

Improve the UX and flow of the Image post format.

  • Drag-and-drop
  • Textarea for HTML/URL hidden to start
  • Bigger click target for entering Media modal
  • Image preview height-contrained to 300 pixels
  • Hid the alignment, size, etc options that didn't have an effect anyway
  • Got wp-format-{format} into the <body> class

props DrewAPicture, aaroncampbell, markjaquith, azaozz. see #24291.

File:
1 edited

Legend:

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

    r24207 r24226  
    2525
    2626        if ( empty( $_format ) )
    27                 return false;
     27                return '';
    2828
    2929        $format = array_shift( $_format );
Note: See TracChangeset for help on using the changeset viewer.