Ticket #49282: 49282.diff
File 49282.diff, 2.0 KB (added by , 5 years ago) |
---|
-
src/js/_enqueues/vendor/tinymce/skins/wordpress/wp-content.css
265 265 z-index: -1; 266 266 } 267 267 268 /* Special styling for the suggestes policy text tutorial sections after they have been pasted in the editor. */269 p.wp-policy-help {270 background-color: #ff0;271 }272 273 268 /** 274 269 * WP Views 275 270 */ -
src/wp-admin/css/edit.css
729 729 margin-top: 6px; 730 730 } 731 731 732 .hide-privacy-policy-tutorial .wp-policy-help, /* For back-compat see #49282 */ 732 733 .hide-privacy-policy-tutorial .privacy-policy-tutorial { 733 734 visibility: hidden; 734 735 } 735 736 736 . wp-suggested-text p {737 .policy-text p { 737 738 font-style: italic; 738 739 } 739 740 740 .wp-suggested-text p.privacy-policy-tutorial { 741 .policy-text p.wp-policy-help, /* For back-compat see #49282 */ 742 .policy-text p.privacy-policy-tutorial { 741 743 font-style: normal; 742 744 } 743 745 -
src/wp-admin/includes/plugin.php
2257 2257 * For more information see the Plugin Handbook: 2258 2258 * https://developer.wordpress.org/plugins/privacy/suggesting-text-for-the-site-privacy-policy/. 2259 2259 * 2260 * The HTML contents of the `$policy_text` supports use of a specialized `privacy-policy-tutorial` css class 2261 * which can be used to provide supplemental information. Any content contained within html elements 2262 * that have the `privacy-policy-tutorial` css class applied will be omitted from the clipboard 2263 * when the section content is copied. 2264 * 2260 2265 * Intended for use with the `'admin_init'` action. 2261 2266 * 2262 2267 * @since 4.9.6