- Timestamp:
- 10/20/2020 06:24:33 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwentyone/inc/custom-css.php
r49216 r49247 24 24 function twenty_twenty_one_generate_css( $selector, $style, $value, $prefix = '', $suffix = '', $echo = true ) { 25 25 26 // Bail early if we haveno $selector elements or properties and $value.26 // Bail early if there is no $selector elements or properties and $value. 27 27 if ( ! $value || ! $selector ) { 28 28 return ''; … … 35 35 * Note to reviewers: $css contains auto-generated CSS. 36 36 * It is included inside <style> tags and can only be interpreted as CSS on the browser. 37 * Using wp_strip_all_tags() here is sufficient escaping since we just needto avoid37 * Using wp_strip_all_tags() here is sufficient escaping to avoid 38 38 * malicious attempts to close </style> and open a <script>. 39 39 */
Note: See TracChangeset
for help on using the changeset viewer.