Skip to:
Content

BuddyPress.org

Changeset 3641 for trunk/bp-activity.php


Ignore:
Timestamp:
01/01/2011 08:13:49 PM (15 years ago)
Author:
boonebgorges
Message:

Fetches the bp_pages names and slugs from the root blog table when viewing a secondary blog. Fixes #2989

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity.php

    r3633 r3641  
    985985    $content = preg_replace('/<img[^>]*>/Ui', '', $content );
    986986
    987     if ( !empty( $matches ) ) {
     987    if ( !empty( $matches ) && !empty( $matches[0] ) ) {
    988988        /* Get the SRC value */
    989989        preg_match( '/<img.*?(src\=[\'|"]{0,1}.*?[\'|"]{0,1})[\s|>]{1}/i', $matches[0][0], $src );
Note: See TracChangeset for help on using the changeset viewer.