WordPress.org

Make WordPress Core

Ticket #15867: t15867-get_post_format_slugs-phpdoc.diff

File t15867-get_post_format_slugs-phpdoc.diff, 562 bytes (added by demetris, 7 years ago)
  • wp-includes/post.php

     
    50615061        return $strings;
    50625062}
    50635063
     5064/**
     5065 * Retrieves an array of (translated and sanitized) post format slugs.
     5066 *
     5067 * @since 3.1.0
     5068 *
     5069 * @uses sanitize_title_with_dashes()
     5070 * @return array The array of (translated and sanitized) post format slugs.
     5071 */
    50645072function get_post_format_slugs() {
    50655073        $slugs = array(
    50665074                'standard' => _x( 'standard', 'Post format slug' ),