Make WordPress Core

Ticket #32707: 32707.patch

File 32707.patch, 513 bytes (added by dlh, 9 years ago)
  • src/wp-includes/post.php

     
    16761676         *
    16771677         * @see get_post_type_labels() for the full list of labels.
    16781678         *
    1679          * @param array $labels Array of labels for the given post type.
     1679         * @param object $labels Object with labels for the post type as member variables.
    16801680         */
    16811681        return apply_filters( "post_type_labels_{$post_type}", $labels );
    16821682}