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

WordPress Trac noreply at wordpress.org
Wed Feb 27 20:41:16 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 wonderboymusic):

 == Scenarios

 1. If the post doesn't have a post format or the theme supports
 structured-post-formats, nothing should happen to content
 2. If you don't support structured-post-formats and you don't have
 gallery, audio, or video metadata, we are currently adding the shortcode
 to `the_content()` - you said "it's audio!", didn't opt in to structured,
 and have no meta, you are getting a new shortcode when:
  - you have no audio-like URL, embed, or shortcode in your content,
  - but you DID attach audio to your post.

 So the main question here: should we add shortcodes for attached media
 (post_parent is the current post) when nothing in the content or meta is
 present? Otto says no. I personally hate the idea that media can only have
 one post_parent as is, so I lean towards no when there is no meta and
 nothing explicitly looking like gallery|audio|video or a URL in the
 content.

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


More information about the wp-trac mailing list