[buddypress-trac] [BuddyPress Trac] #9237: [Site Health Info Tab] Some "Active components" are incorrect while viewing the BuddyPress panel

buddypress-trac noreply at wordpress.org
Mon Oct 7 18:45:08 UTC 2024


#9237: [Site Health Info Tab] Some "Active components" are incorrect while viewing
the BuddyPress panel
-------------------------------------------------+-------------------------
 Reporter:  emaralive                            |       Owner:  emaralive
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  14.2.0
Component:  Administration                       |     Version:  14.1.0
 Severity:  normal                               |  Resolution:
 Keywords:  has-screenshots has-patch dev-       |
  feedback                                       |
-------------------------------------------------+-------------------------

Comment (by emaralive):

 @imath,

 Added new patch based on the fixed represented by
 https://github.com/buddypress/bp-attachments/pull/118 and tested to
 confirm the PR works with the with 9237.02.patch (newly submitted patch).

 {{{
 $all_components    = bp_core_get_components();
 $active_components = array_merge( buddypress()->active_components, array(
 'core' => '1' ) );
 $active_components = wp_list_pluck( array_intersect_key( $all_components,
 $active_components ), 'title' );
 }}}

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


More information about the buddypress-trac mailing list