| | 155 | * Display a pointer for the new privacy tools. |
| | 156 | * |
| | 157 | * @since 4.9.6 |
| | 158 | */ |
| | 159 | public static function pointer_wp496_privacy() { |
| | 160 | $content = '<h3>' . __( 'Privacy and Personal Data' ) . '</h3>'; |
| | 161 | $content .= '<h4>' . __( 'Privacy Policy' ) . '</h4>'; |
| | 162 | $content .= '<p>' . __( 'Create or select your site’s privacy policy page under <strong>Settings > Privacy</strong> to keep your users informed and aware.' ) . '</p>'; |
| | 163 | $content .= '<h4>' . __( 'Personal Data Export and Erasure' ) . '</h4>'; |
| | 164 | $content .= '<p>' . __( 'New <strong>Tools</strong> have been added to help you with personal data export and erasure requests.' ) . '</p>'; |
| | 165 | |
| | 166 | if ( is_rtl() ) { |
| | 167 | $position = array( |
| | 168 | 'edge' => 'right', |
| | 169 | 'align' => 'left', |
| | 170 | 'at' => 'left+40', |
| | 171 | ); |
| | 172 | } else { |
| | 173 | $position = array( |
| | 174 | 'edge' => 'left', |
| | 175 | 'align' => 'right', |
| | 176 | 'at' => 'right-40 bottom' |
| | 177 | ); |
| | 178 | } |
| | 179 | |
| | 180 | self::print_js( 'wp496_privacy', '#menu-tools', array( |
| | 181 | 'content' => $content, |
| | 182 | 'position' => $position, |
| | 183 | ) ); |
| | 184 | } |
| | 185 | |
| | 186 | /** |