WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/20/2017 08:02:10 PM (3 years ago)
Author:
DrewAPicture
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post-formats.php

    r33734 r41284  
    103103
    104104/**
    105  * Retrieves an array of post format slugs.
    106  *
    107  * @since 3.1.0
    108  *
    109  * @return array The array of post format slugs.
     105 * Retrieves the array of post format slugs.
     106 *
     107 * @since 3.1.0
     108 *
     109 * @return array The array of post format slugs as both keys and values.
    110110 */
    111111function get_post_format_slugs() {
Note: See TracChangeset for help on using the changeset viewer.