WordPress.org

Make WordPress Core

Changeset 35398


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

Docs: Correct $class parameter type and description for body_class filter.

Props JPry.
Fixes #34452.

File:
1 edited

Legend:

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

    r35066 r35398  
    729729     * @since 2.8.0
    730730     *
    731      * @param array  $classes An array of body classes.
    732      * @param string $class   A comma-separated list of additional classes added to the body.
     731     * @param array $classes An array of body classes.
     732     * @param array $class   An array of additional classes added to the body.
    733733     */
    734734    $classes = apply_filters( 'body_class', $classes, $class );
Note: See TracChangeset for help on using the changeset viewer.