[buddypress-trac] [BuddyPress Trac] #6417: Site-Wide Activity Filter issue with admin_init?

buddypress-trac noreply at wordpress.org
Mon May 4 11:12:51 UTC 2015


#6417: Site-Wide Activity Filter issue with admin_init?
----------------------------------+--------------------------------------
 Reporter:  svenl77               |      Owner:
     Type:  defect (bug)          |     Status:  new
 Priority:  normal                |  Milestone:  Awaiting Review
Component:  Component - Activity  |    Version:  2.2.3
 Severity:  normal                |   Keywords:  dev-feedback needs-patch
----------------------------------+--------------------------------------
 Hi,

 I have recognised a strange issue. I use a function to
 flush_rewrite_rules. It should only run on the admin_init hook and if is
 admin.

 Everything works fine. But this morning a user ask for support. If he
 filter the Site-Wide Activity the admin_init hook gets fired and the if is
 admin check is true.

 That's why flush_rewrite_rules runs and creates a 404. I have the strange
 feeling this is an issue with the BuddyPress Activity ajax.

 I hope someone can help me with this and point me to the right direction.
 I like to fix this.

 Cheers,
 Sven

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


More information about the buddypress-trac mailing list