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