Skip to:
Content

BuddyPress.org

Ticket #910: 910-jjj.patch

File 910-jjj.patch, 374 bytes (added by johnjamesjacoby, 15 years ago)

Fix for bp_activity_add

  • bp-activity.php

     
    198198                        }
    199199                }
    200200               
    201                 if ( $pos ) {
     201                if ( !$pos = strpos( $content, '<span' ) ) {
    202202                        $before = substr( $content, 0, $pos );
    203203                        $after = substr( $content, $pos, strlen( $content ) );
    204204