[buddypress-trac] [BuddyPress Trac] #6866: `bp_activity_get_post_types_tracking_args()` is called too frequently

buddypress-trac noreply at wordpress.org
Tue Feb 2 03:56:18 UTC 2016


#6866: `bp_activity_get_post_types_tracking_args()` is called too frequently
----------------------------------+-----------------------------
 Reporter:  boonebgorges          |      Owner:
     Type:  defect (bug)          |     Status:  new
 Priority:  normal                |  Milestone:  Awaiting Review
Component:  Component - Activity  |    Version:
 Severity:  normal                |   Keywords:
----------------------------------+-----------------------------
 `bp_activity_get_post_types_tracking_args()` is called every time
 `bp_activity_get_actions()` is called. This can be hundreds of time per
 page. See #6864, #6865.

 My profiling shows that the call to `apply_filters()` in this function can
 cause performance problems when called too many times.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6866>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list