WordPress.org

Make WordPress Core

Ticket #20369: 20369.minor-typo-fix.patch

File 20369.minor-typo-fix.patch, 531 bytes (added by SergeyBiryukov, 3 years ago)
  • wp-admin/includes/media.php

     
    171171                $s = preg_replace( '/[\r\n\t]+/', ' ', $str[0] ); 
    172172                // look for single quotes inside html attributes (for example in title) 
    173173                $s = preg_replace_callback( '/="[^"]+"/', '_cleanup_image_add_caption2', $s ); 
    174                 return str_replace(     '"', "'", $s ); 
     174                return str_replace( '"', "'", $s ); 
    175175        } 
    176176 
    177177        return '';