Skip to:
Content

BuddyPress.org

Changeset 2303


Ignore:
Timestamp:
01/15/2010 12:11:12 PM (14 years ago)
Author:
apeatling
Message:

Fixes #1317 - Activity title truncation with % sign.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity.php

    r2291 r2303  
    659659        $after = substr( $content, (int) $pos, strlen( $content ) );
    660660
     661        /* Escape any existing % signs */
     662        $before = str_replace( '%', '%%', $before );
     663
    661664        $content = $before . ' <span class="time-since">%s</span>' . $after;
    662665    }
Note: See TracChangeset for help on using the changeset viewer.