Make WordPress Core


Ignore:
Timestamp:
10/26/2019 09:07:10 PM (5 years ago)
Author:
johnbillion
Message:

Docs: Switch more docs over to typed array notation, plus some fixes.

See #48303, #41756

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-privacy-policy-content.php

    r46288 r46596  
    706706         * @since 5.0.0 Added the `$strings`, `$description`, and `$blocks` parameters.
    707707         *
    708          * @param string $content     The default policy content.
    709          * @param array $strings     An array of privacy policy content strings.
    710          * @param bool   $description Whether policy descriptions should be included.
    711          * @param bool   $blocks      Whether the content should be formatted for the block editor.
     708         * @param string   $content     The default policy content.
     709         * @param string[] $strings     An array of privacy policy content strings.
     710         * @param bool     $description Whether policy descriptions should be included.
     711         * @param bool     $blocks      Whether the content should be formatted for the block editor.
    712712         */
    713713        return apply_filters( 'wp_get_default_privacy_policy_content', $content, $strings, $description, $blocks );
Note: See TracChangeset for help on using the changeset viewer.