Changeset 34377
- Timestamp:
- 09/22/2015 04:30:11 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/formatting.php
r34277 r34377 1601 1601 $sanitized = preg_replace( '/[^A-Za-z0-9_-]/', '', $sanitized ); 1602 1602 1603 if ( '' == $sanitized )1604 $sanitized = $fallback;1605 1603 if ( '' == $sanitized && $fallback ) { 1604 return sanitize_html_class( $fallback ); 1605 } 1606 1606 /** 1607 1607 * Filter a sanitized HTML class string.
Note: See TracChangeset
for help on using the changeset viewer.