Skip to:
Content

BuddyPress.org

Ticket #6126: 6126.patch

File 6126.patch, 522 bytes (added by imath, 10 years ago)
  • src/bp-activity/bp-activity-classes.php

    diff --git src/bp-activity/bp-activity-classes.php src/bp-activity/bp-activity-classes.php
    index b6ec8d7..56006b0 100644
    class BP_Activity_Activity { 
    162162                        $this->is_spam           = $row->is_spam;
    163163                }
    164164
     165                // Make sure all activity actions are set
     166                bp_activity_get_actions();
     167
    165168                // Generate dynamic 'action' when possible
    166169                $action = bp_activity_generate_action_string( $this );
    167170                if ( false !== $action ) {