mirror of
https://gh.wpcy.net/https://github.com/buddypress/buddypress.git
synced 2026-05-31 05:04:29 +08:00
We test to see whether a 'Read More' link should be added to activity items in the stream by comparing the excerpted version against the unprocessed text. Since the excerpt is created using bp_create_excerpt() with the 'filter_shortcodes' flag set to true, we must also strip shortcodes on the unprocessed text to get an accurate comparison for length. This prevents the [Read More] link from being appended erroneously when shortcodes are present in activity updates. Fixes #4051. Props magnus78 git-svn-id: https://buddypress.svn.wordpress.org/trunk@6095 cdf35c40-ae34-48e0-9cc9-0c9da1808c22 |
||
|---|---|---|
| .. | ||
| admin | ||
| feeds | ||
| bp-activity-actions.php | ||
| bp-activity-admin.php | ||
| bp-activity-akismet.php | ||
| bp-activity-cache.php | ||
| bp-activity-classes.php | ||
| bp-activity-filters.php | ||
| bp-activity-functions.php | ||
| bp-activity-loader.php | ||
| bp-activity-notifications.php | ||
| bp-activity-screens.php | ||
| bp-activity-template.php | ||