Make WordPress Core

Ticket #44050: 44050.2.diff

File 44050.2.diff, 1.1 KB (added by dlh, 7 years ago)

Also fixes a related typo in the method docs.

  • src/wp-admin/includes/misc.php

    diff --git src/wp-admin/includes/misc.php src/wp-admin/includes/misc.php
    index a8600f1d24..0c5b0d6b6f 100644
    final class WP_Privacy_Policy_Content { 
    16861686         *
    16871687         * @since 4.9.6
    16881688         *
    1689          * @param bool $descr Whether to include the descriptions undet the section headings. Default false.
     1689         * @param bool $descr Whether to include the descriptions under the section headings. Default false.
    16901690         * @return string The default policy content.
    16911691         */
    16921692        public static function get_default_content( $descr = false ) {
    final class WP_Privacy_Policy_Content { 
    17771777                $content .=
    17781778                        '<p>' . $suggested_text . __( 'Visitor comments may be checked through an automated spam detection service.' ) . '</p>';
    17791779
     1780                $content .=
    17801781                        '<h2>' . __( 'Your contact information' ) . '</h2>';
    17811782                $descr && $content .=
    17821783                        '<p class="privacy-policy-tutorial">' . __( 'In this section you should provide a contact method for privacy-specific concerns. If you are required to have a Data Protection Officer, list their name and full contact details here as well.' ) . '</p>';