WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/08/2019 05:02:55 PM (11 months ago)
Author:
desrosj
Message:

Docs: Fix order of parameter type and variable name.

The order of the type and variable name in the param tags for the wp_get_default_privacy_policy_content filter is incorrectly reversed. This moves the two into the correct order.

Props ishitaka, mukesh27.
Fixes #45416.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/misc.php

    r44464 r44475  
    19901990         * @since 5.0.0 Added the `$strings`, `$description`, and `$blocks` parameters.
    19911991         *
    1992          * @param $content     string The default policy content.
    1993          * @param $strings     array  An array of privacy policy content strings.
    1994          * @param $description bool  Whether policy descriptions should be included.
    1995          * @param $blocks      bool   Whether the content should be formatted for the block editor.
     1992         * @param string $content    The default policy content.
     1993         * @param array  $strings     An array of privacy policy content strings.
     1994         * @param bool   $description Whether policy descriptions should be included.
     1995         * @param bool   $blocks      Whether the content should be formatted for the block editor.
    19961996         */
    19971997        return apply_filters( 'wp_get_default_privacy_policy_content', $content, $strings, $description, $blocks );
Note: See TracChangeset for help on using the changeset viewer.