Opened 15 years ago
Closed 15 years ago
#17576 closed defect (bug) (fixed)
Use get_post_format_strings() to generate get_post_format_slugs()
| Reported by: | mfields | Owned by: | ryan |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.2 |
| Component: | Taxonomy | Version: | 3.2 |
| Severity: | normal | Keywords: | has-patch dev-feedback |
| Cc: | Focuses: |
Description
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() )".
Attachments (1)
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
This was for PHP4 compat, see r17403.