[wp-trac] [WordPress Trac] #15378: Post formats should have built-in index pages

WordPress Trac wp-trac at lists.automattic.com
Fri Dec 3 10:24:31 UTC 2010


#15378: Post formats should have built-in index pages
-------------------------+--------------------------------------------------
 Reporter:  nacin        |       Owner:           
     Type:  enhancement  |      Status:  new      
 Priority:  normal       |   Milestone:  3.1      
Component:  Themes       |     Version:  3.1      
 Severity:  normal       |    Keywords:  has-patch
-------------------------+--------------------------------------------------

Comment(by nacin):

 Okay. Indexes are in. Notes:

  - Needs some testing, but these are L10n safe.

  - get_post_format_slugs() and how it gets used (one time it gets flipped)
 feels odd. Feel free to improve. Also looks like I missed phpdoc on that.

  - I hooked into request, but now I think we should target pre_get_post
 instead. That would allow for any query to use post_format=gallery, rather
 than post_format=post-format-gallery. Maybe even lower into WP_Query too.

  - Please triple-check my logic. Tested well, but I might have missed
 something, and there might be room for improvement in some spots.

  - We need to update Twenty Ten at some point soon.

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


More information about the wp-trac mailing list