WordPress.org

Make WordPress Core

Ticket #34452: 34452.patch

File 34452.patch, 620 bytes (added by JPry, 5 years ago)

Fix body_class docblock

  • src/wp-includes/post-template.php

    diff --git src/wp-includes/post-template.php src/wp-includes/post-template.php
    index 92ccf45..5c1f2f2 100644
    function get_body_class( $class = '' ) { 
    728728         *
    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 );
    735735