mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-01 21:21:24 +01:00
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:
parent
15373a020d
commit
f94c77661d
@ -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() );
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user