WordPress.org

Make WordPress Core

Changeset 35400


Ignore:
Timestamp:
10/26/2015 03:11:53 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: After [35399], correct $class parameter type and description for post_class filter.

See #34452.

File:
1 edited

Legend:

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

    r35399 r35400  
    512512     * @since 2.7.0
    513513     *
    514      * @param array  $classes An array of post classes.
    515      * @param string $class   A comma-separated list of additional classes added to the post.
    516      * @param int    $post_id The post ID.
     514     * @param array $classes An array of post classes.
     515     * @param array $class   An array of additional classes added to the post.
     516     * @param int   $post_id The post ID.
    517517     */
    518518    $classes = apply_filters( 'post_class', $classes, $class, $post->ID );
Note: See TracChangeset for help on using the changeset viewer.