[wp-trac] [WordPress Trac] #17576: Use get_post_format_strings() to generate get_post_format_slugs()
WordPress Trac
wp-trac at lists.automattic.com
Thu May 26 18:32:58 UTC 2011
#17576: Use get_post_format_strings() to generate get_post_format_slugs()
--------------------------+------------------------------------
Reporter: mfields | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version: 3.2
Severity: normal | Keywords: has-patch dev-feedback
--------------------------+------------------------------------
Dynamically generate the array returned by get_post_format_slugs() as
suggested by inline documentation in /wp-includes/post.php "3.2-early: use
array_combine() and array_keys( get_post_format_strings() )".
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17576>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list