WordPress.org

Make WordPress Core

Changeset 7933


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

Only img src. see #6813

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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]) ) 
Note: See TracChangeset for help on using the changeset viewer.