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

WordPress Trac noreply at wordpress.org
Wed Feb 27 17:19:00 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 Otto42):

 The new post_formats_compat function seems to be doing something stupid.
 It was automatically adding a [gallery] to the end of posts with the
 gallery post format for me, even though those posts already contained a
 gallery (after a !--more-- tag).

 Note that the theme in question does declare support for the gallery
 format like so:
 {{{
 add_theme_support( 'post-formats', array( 'aside', 'audio', 'chat',
 'gallery', 'image', 'link', 'quote', 'status', 'video' ) );
 }}}

 I think that post_formats_compat needs to be done away with, or altered,
 or somehow modified to not be changing existing content already being
 produced by sites and themes.

 This code currently breaks existing sites in major ways, and should be
 considered a blocker.

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


More information about the wp-trac mailing list