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

WordPress Trac noreply at wordpress.org
Sun Mar 31 00:37:31 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):

 I may be missing something but a post can only have one post format,
 right? Why do we have all the different formats related post meta:
 {{{
 '_wp_format_url',
 '_wp_format_quote',
 '_wp_format_quote_source',
 '_wp_format_image',
 '_wp_format_gallery',
 '_wp_format_audio',
 '_wp_format_video',
 }}}

 And then we update them all at once in
 [https://core.trac.wordpress.org/browser/trunk/wp-
 admin/includes/post.php#L205 wp-admin/includes/post.php] and add all on
 every revision and autosave? That would make the postmeta table "explode"
 :)

 Why not one meta field that keeps all needed data? What happens when more
 than one format meta is set on a post? Do we need to keep all unused meta
 for the main post in addition to having it in the revisions?

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


More information about the wp-trac mailing list