Opened 11 months ago
Closed 11 months ago
#9055 closed defect (bug) (worksforme)
BuddyPress state is not set during ajax call request
Reported by: | raviousprime | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 12.0.0 |
Component: | Core | Keywords: | |
Cc: |
Description
I am a plugin developer and writing about an issue I am facing while adding compatibility with BP 12. The issue I am facing is that during Ajax call requests BuddyPress globals are not set i.e. current component, action etc. Please look at this issue.
Change History (1)
Note: See
TracTickets for help on using
tickets.
Hi @raviousprime
Thanks for your feedback. In 12.0.0, you now need to register your Ajax action. See:
https://github.com/buddypress/buddypress/blob/master/docs/developer/execution-contexts/ajax.md