From f94c77661d10536c1dd77913ad0155bed9542250 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sun, 20 Aug 2017 20:03:54 +0000 Subject: [PATCH] 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 --- wp-includes/post-formats.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/post-formats.php b/wp-includes/post-formats.php index 7800ba0bd6..47db10b176 100644 --- a/wp-includes/post-formats.php +++ b/wp-includes/post-formats.php @@ -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() ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 35c3de762a..0b7084cf68 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.