[wp-trac] [WordPress Trac] #19570: Post Formats: admin UI + fallbacks for themes that don't support them

WordPress Trac noreply at wordpress.org
Mon Apr 1 20:38:17 UTC 2013


#19570: Post Formats: admin UI + fallbacks for themes that don't support them
-----------------------------------------------+------------------
 Reporter:  alexkingorg                        |       Owner:
     Type:  task (blessed)                     |      Status:  new
 Priority:  normal                             |   Milestone:  3.6
Component:  Post Formats                       |     Version:  3.3
 Severity:  normal                             |  Resolution:
 Keywords:  has-patch ui-feedback needs-codex  |
-----------------------------------------------+------------------

Comment (by azaozz):

 > When were you thinking this would initially happen?

 When starting a new post, we can "reduce" the UI on clicking a post format
 button. We know it's a new post because it has `$post->post_status ==
 'auto-draft'`. When opening a post for editing, post_status != 'auto-
 draft'.

 We can add a class on <div class="post-format-options"> to set the initial
 state, then toggle that class with jQuery on selecting a post format. So
 when that class is present the UI will be minimal, perhaps only a "Change
 post format" button. Clicking that button will remove the class and show
 the post format buttons.

 This would mean that once a post format is selected, the user will have to
 click twice to change it. This also suggests post formats should be set
 once.

 > We can't tell the difference between Standard-as-choice and Standard-as-
 default.

 When starting a post all formats will be visible until the user selects
 one. Not selecting a format = 'standard'. When editing a post if there's
 no format we assume 'standard' (same as now).

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19570#comment:136>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list