Changeset 6742
- Timestamp:
- 01/23/2013 08:44:38 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/bp-activity/bp-activity-functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-functions.php
r6723 r6742 1508 1508 1509 1509 preg_match_all( '/<img[^>]*>/Ui', $content, $matches ); 1510 $content = preg_replace('|(\[caption(.*?)\])?<img[^>]*> .*?(?:\[\/caption\])|', '', $content );1510 $content = preg_replace('|(\[caption(.*?)\])?<img[^>]*>([^\[\[]*\[\/caption\])?|', '', $content ); 1511 1511 1512 1512 if ( !empty( $matches ) && !empty( $matches[0] ) ) {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)