[wp-trac] [WordPress Trac] #38611: Clarify why get_post_format_slugs() calls array_combine()
WordPress Trac
noreply at wordpress.org
Sun Aug 20 20:02:13 UTC 2017
#38611: Clarify why get_post_format_slugs() calls array_combine()
-----------------------------+---------------------------
Reporter: danielbachhuber | Owner: DrewAPicture
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.9
Component: Post Formats | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: docs
-----------------------------+---------------------------
Changes (by DrewAPicture):
* owner: => DrewAPicture
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"41284"]:
{{{
#!CommitTicketReference repository="" revision="41284"
Docs: Improve the return description for `get_post_format_slugs()` to note
that the array contains slugs as both keys and values.
Props danielbachhuber.
Fixes #38611.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38611#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list