WordPress.org

Make WordPress Core

Ticket #44048: 44048.patch

File 44048.patch, 1.5 KB (added by azaozz, 16 months ago)
  • src/wp-admin/includes/misc.php

     
    16911691         */
    16921692        public static function get_default_content( $descr = false ) {
    16931693                $suggested_text = $descr ? '<strong class="privacy-policy-tutorial">' . __( 'Suggested text:' ) . ' </strong>' : '';
     1694                $content = '';
    16941695
    16951696                // Start of the suggested privacy policy text.
    1696                 $content =
    1697                         '<div class="wp-suggested-text">' .
     1697                $descr && $content .=
     1698                        '<div class="wp-suggested-text">';
     1699                $content .=
    16981700                        '<h2>' . __( 'Who we are' ) . '</h2>';
    16991701                $descr && $content .=
    17001702                        '<p class="privacy-policy-tutorial">' . __( 'In this section you should note your site URL, as well as the name of the company, organization, or individual behind it, and some accurate contact information.' ) . '</p>' .
     
    18071809                $content .=
    18081810                        '<h3>' . __( 'Industry regulatory disclosure requirements' ) . '</h3>';
    18091811                $descr && $content .=
    1810                         '<p class="privacy-policy-tutorial">' . __( 'If you are a member of a regulated industry, or if you are subject to additional privacy laws, you may be required to disclose that information here.' ) . '</p>';
    1811                 $content .=
     1812                        '<p class="privacy-policy-tutorial">' . __( 'If you are a member of a regulated industry, or if you are subject to additional privacy laws, you may be required to disclose that information here.' ) . '</p>' .
    18121813                        '</div>';
    18131814                // End of the suggested privacy policy text.
    18141815