[wp-trac] [WordPress Trac] #24089: array_keys( get_post_format_slugs() ) is redundant
WordPress Trac
noreply at wordpress.org
Mon Apr 15 12:13:19 UTC 2013
#24089: array_keys( get_post_format_slugs() ) is redundant
-----------------------------+--------------------------
Reporter: SergeyBiryukov | Type: enhancement
Status: new | Priority: normal
Milestone: Awaiting Review | Component: Post Formats
Version: 3.1 | Severity: normal
Keywords: has-patch |
-----------------------------+--------------------------
Initially, post format slugs used to be translatable ([16705]), so we had
to use `array_keys()` to get original values. See [17213], [17224].
Since [17391], the slugs are no longer translatable, so `array_keys(
get_post_format_slugs() )` is redundant.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24089>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list