Changeset 8316 for sites/trunk/wordcamp.org/public_html/wp-content/mu-plugins/jetpack-tweaks/css-sanitization.php
- Timestamp:
- 02/22/2019 01:44:18 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/mu-plugins/jetpack-tweaks/css-sanitization.php
r5819 r8316 133 133 */ 134 134 function sanitize_urls_in_css_properties( $url, $property ) { 135 $allowed_properties = array( 'background', 'background-image', 'border-image', ' content', 'cursor', 'list-style', 'list-style-image' );135 $allowed_properties = array( 'background', 'background-image', 'border-image', 'border-image-source', 'content', 'cursor', 'list-style', 'list-style-image' ); 136 136 $allowed_protocols = array( 'http', 'https' ); 137 137 // todo maybe add permenant warning note that `data` shouldn't be allowed, see #1616:comment:4
Note: See TracChangeset
for help on using the changeset viewer.