[buddypress-trac] [BuddyPress Trac] #8579: Post Author Changed, but Activity & Post pages come out wrong

buddypress-trac noreply at wordpress.org
Tue Oct 5 23:24:55 UTC 2021


#8579: Post Author Changed, but Activity & Post pages come out wrong
----------------------------------------+---------------------
 Reporter:  rigsbyx                     |       Owner:  (none)
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  10.0.0
Component:  Activity                    |     Version:  2.2
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |
----------------------------------------+---------------------

Comment (by rigsbyx):

 Hi @imath

 Thanks for your fast response. Amazing. I don't know php except to drop it
 into a specific region, but what you sent me doesn't look the same in my
 php file. I am guessing they were supposed to for the white regions?

 These are lines 2303 - 2313 in plugins/buddypress/bp-activity-
 functions.php:

                  * @param WP_Post              $post                 Post
 object.
          * @param BP_Activity_Activity $activity             Activity
 object.
          * @param object               $activity_post_object The post type
 tracking args object.
          */
         do_action( 'bp_activity_post_type_updated', $post, $activity,
 $activity_post_object );

         return $updated;
 }

 /**
  * Unpublish an activity for the custom post type.

 Needless to say, I didn't add it in just yet, and there's no hurry for me
 anyway :)

 Cheers

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8579#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list