Changeset 5351
- Timestamp:
- 11/24/2011 02:39:08 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-functions.php
r5330 r5351 1289 1289 1290 1290 preg_match_all( '/<img[^>]*>/Ui', $content, $matches ); 1291 $content = preg_replace(' /<img[^>]*>/Ui', '', $content );1292 1291 $content = preg_replace('|(\[caption(.*?)\])?<img[^>]*>(\[/caption\])?|', '', $content ); 1292 1293 1293 if ( !empty( $matches ) && !empty( $matches[0] ) ) { 1294 1294 // Get the SRC value
Note: See TracChangeset
for help on using the changeset viewer.