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.


git-svn-id: https://develop.svn.wordpress.org/trunk@41284 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes 2017-08-20 20:02:10 +00:00
parent 1eb7fadef4
commit d8c20f3a5b
1 changed files with 2 additions and 2 deletions

View File

@ -102,11 +102,11 @@ function get_post_format_strings() {
} }
/** /**
* Retrieves an array of post format slugs. * Retrieves the array of post format slugs.
* *
* @since 3.1.0 * @since 3.1.0
* *
* @return array The array of post format slugs. * @return array The array of post format slugs as both keys and values.
*/ */
function get_post_format_slugs() { function get_post_format_slugs() {
$slugs = array_keys( get_post_format_strings() ); $slugs = array_keys( get_post_format_strings() );