Ticket #6813: press-this_7-14.patch
| File press-this_7-14.patch, 529 bytes (added by noel, 5 years ago) |
|---|
-
wp-admin/press-this.php
183 183 184 184 $host = parse_url($uri); 185 185 186 $pattern = '/<img ([^>]*)src=(\"|\')([^<>]+?\.(png|jpeg|jpg|jpe|gif) )(\2)([^>\/]*)\/*>/is';186 $pattern = '/<img ([^>]*)src=(\"|\')([^<>]+?\.(png|jpeg|jpg|jpe|gif)[^<>\'\"]*)(\2)([^>\/]*)\/*>/is'; 187 187 preg_match_all($pattern, $content, $matches); 188 188 189 189 if ( empty($matches[1]) ) return '';
