Make WordPress Core

Changeset 16245


Ignore:
Timestamp:
11/09/2010 12:42:35 AM (14 years ago)
Author:
nacin
Message:

Use spaces for alignment. see #15343 [16236]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/media.php

    r16236 r16245  
    141141    $width = $matches[1];
    142142
    143     $caption = str_replace( array( '>',     '<',    '"',        "'" ),
    144                             array( '&gt;',  '&lt;', '&quot;',   '&#039;' ),
     143    $caption = str_replace( array( '>',    '<',    '"',      "'" ),
     144                            array( '&gt;', '&lt;', '&quot;', '&#039;' ),
    145145                            $caption
    146146                          );
    147    
     147
    148148    $html = preg_replace( '/(class=["\'][^\'"]*)align(none|left|right|center)\s?/', '$1', $html );
    149149    if ( empty($align) )
Note: See TracChangeset for help on using the changeset viewer.