Changeset 7933

Show
Ignore:
Timestamp:
05/14/08 23:21:28 (6 months ago)
Author:
ryan
Message:

Only img src. see #6813

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-admin/press-this.php

    r7932 r7933  
    8888        return ''; 
    8989 
    90     $pattern = '/src=[\'"]?([^\'" >]+)[\'" >]/';  
     90    $pattern = '/img.+?src=[\'"]?([^\'" >]+)[\'" >]/';  
    9191    preg_match_all($pattern, $content, $matches); 
    9292    if ( empty($matches[1]) )