[wp-trac] [WordPress Trac] #23347: Theme fallbacks for post format meta data

WordPress Trac noreply at wordpress.org
Thu Feb 21 22:48:10 UTC 2013


#23347: Theme fallbacks for post format meta data
--------------------------+------------------
 Reporter:  helen         |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  3.6
Component:  Post Formats  |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------

Comment (by helen):

 In [changeset:"23467"]:
 {{{
 #!CommitTicketReference repository="" revision="23467"
 Implement theme support for structured-post-formats, which will supercede
 theme support for post-formats. Usage is the same as declaring support for
 post-formats: `add_theme_support( 'structured-post-formats', array(
 'quote', 'video' ) )`. Adding `structured-post-formats` support also adds
 `post-formats` support for the given format(s) underneath.

 Declaring support for a given format indicates that the theme handles
 format-specific metadata; admin UI will not change based on theme-declared
 support of either variety as it did previously. If no `structured-post-
 formats` support is explicitly declared for a format, a post in that
 format will have fallback output utilizing that metadata applied. In this
 way, a theme can style core-provided output for a full post format
 experience without having to handle metadata in any way.

 props nacin. see #23347.
 }}}

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


More information about the wp-trac mailing list