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.

Built from https://develop.svn.wordpress.org/trunk@41284


git-svn-id: http://core.svn.wordpress.org/trunk@41124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2017-08-20 20:03:54 +00:00
parent 15373a020d
commit f94c77661d
2 changed files with 3 additions and 3 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
*
* @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() {
$slugs = array_keys( get_post_format_strings() );

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.9-alpha-41283';
$wp_version = '4.9-alpha-41284';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.