Make WordPress Core

Ticket #43961: 43961.4.diff

File 43961.4.diff, 1.9 KB (added by ianbelanger, 6 years ago)

merged @desrosj 43961.3.diff and reversed the Popup Headline text to Personal Data and Privacy to match order

  • src/wp-admin/includes/class-wp-internal-pointers.php

     
    161161         * @since 4.9.6
    162162         */
    163163        public static function pointer_wp496_privacy() {
    164                 $content  = '<h3>' . __( 'Privacy and Personal Data' ) . '</h3>';
    165                 $content .= '<h4>' . __( 'Privacy Policy' ) . '</h4>';
    166                 $content .= '<p>' . __( 'Create or select your site&#8217;s privacy policy page under <strong>Settings &gt; Privacy</strong> to keep your users informed and aware.' ) . '</p>';
     164                $content  = '<h3>' . __( 'Personal Data and Privacy' ) . '</h3>';
    167165                $content .= '<h4>' . __( 'Personal Data Export and Erasure' ) . '</h4>';
    168166                $content .= '<p>' . __( 'New <strong>Tools</strong> have been added to help you with personal data export and erasure requests.' ) . '</p>';
     167                $content .= '<h4>' . __( 'Privacy Policy' ) . '</h4>';
     168                $content .= '<p>' . __( 'Create or select your site&#8217;s privacy policy page under <strong>Settings &gt; Privacy</strong> to keep your users informed and aware.' ) . '</p>';
    169169
    170170                if ( is_rtl() ) {
    171171                        $position = array(
    172172                                'edge'  => 'right',
    173173                                'align' => 'left',
    174                                 'at'    => 'left+40',
    175174                        );
    176175                } else {
    177176                        $position = array(
    178177                                'edge'  => 'left',
    179178                                'align' => 'right',
    180                                 'at'    => 'right-40 bottom'
    181179                        );
    182180                }
    183181
  • src/wp-includes/css/wp-pointer.css

     
    3737}
    3838
    3939.wp-pointer-content h4 {
    40         margin: 1.33em 15px;
     40        margin: 1.33em 20px 1em;
     41        font-size: 1.15em;
    4142}
    4243
    4344.wp-pointer-content p {
    44         padding: 0 15px;
     45        padding: 0 20px;
    4546}
    4647
    4748.wp-pointer-buttons {