Changeset 10732 for sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-custom-warnings/wporg-gp-custom-warnings.php
- Timestamp:
- 03/01/2021 06:17:23 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-custom-warnings/wporg-gp-custom-warnings.php
r10731 r10732 182 182 $attribute_regex = '/(\s*(?P<attr>%s))=([\'"])(?P<value>.+)\\3(\s*)/i'; 183 183 $attribute_replace = '$1=$3...$3$5'; 184 $changeable_attr_regex = sprintf( $attribute_regex, implode( '|', $chang able_attributes ) );184 $changeable_attr_regex = sprintf( $attribute_regex, implode( '|', $changeable_attributes ) ); 185 185 $link_attr_regex = sprintf( $attribute_regex, 'href|src' ); 186 186
Note: See TracChangeset
for help on using the changeset viewer.