[wp-trac] [WordPress Trac] #38611: get_post_format_slugs() unnecessarily calls array_combine()

WordPress Trac noreply at wordpress.org
Tue Nov 1 20:52:19 UTC 2016


#38611: get_post_format_slugs() unnecessarily calls array_combine()
-----------------------------+------------------------------
 Reporter:  danielbachhuber  |       Owner:
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Post Formats     |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:  docs
-----------------------------+------------------------------
Changes (by danielbachhuber):

 * keywords:  needs-patch => has-patch
 * focuses:   => docs
 * type:  defect (bug) => enhancement


Comment:

 Actually, [https://twitter.com/nacin/status/793554606496284672 maybe not
 unnecessarily]:

 > I don't think I wrote this but I did review it. Gives you an array of
 slugs with the slugs as keys. Helpful! (at the time)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38611#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list