[wp-trac] [WordPress Trac] #18014: Post Formats are not extendable

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 6 21:37:20 UTC 2011


#18014: Post Formats are not extendable
--------------------------+-----------------------------
 Reporter:  taeo          |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Taxonomy      |    Version:  3.2
 Severity:  major         |   Keywords:  has-patch
--------------------------+-----------------------------
 The post-format functions, specifically get_post_format_strings() in
 post.php do not contain filters to allow modification or extension of the
 allowed post-formats.

 Patching the problem should be as simple as adding a filter to
 get_post_format_strings() as such...

 line 5139 in wp-includes/post.php
 return apply_filters( 'post_format_strings', $strings );

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18014>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list