Changeset 29316 for trunk/src/wp-includes/formatting.php
- Timestamp:
- 07/28/2014 07:54:50 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/formatting.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/formatting.php
r29315 r29316 395 395 if ( strpos( $pee, '<option' ) !== false ) { 396 396 // no P/BR around option 397 $pee = preg_replace( '|\s <option|', '<option', $pee );398 $pee = preg_replace( '|</option>\s |', '</option>', $pee );397 $pee = preg_replace( '|\s*<option|', '<option', $pee ); 398 $pee = preg_replace( '|</option>\s*|', '</option>', $pee ); 399 399 } 400 400
Note: See TracChangeset
for help on using the changeset viewer.