Changeset 16236
- Timestamp:
- 11/08/2010 05:15:14 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/media.php
r16073 r16236 141 141 $width = $matches[1]; 142 142 143 $caption = str_replace( array( '>', '<', '"', "'" ), 144 array( '>', '<', '"', ''' ), 145 $caption 146 ); 147 143 148 $html = preg_replace( '/(class=["\'][^\'"]*)align(none|left|right|center)\s?/', '$1', $html ); 144 149 if ( empty($align) )
Note: See TracChangeset
for help on using the changeset viewer.