Opened 5 years ago
Closed 5 years ago
#8481 closed defect (bug) (fixed)
WP 5.8 Wigdet Block Editor legacy preview doesn't fire the `init` hook
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | |
| Component: | Core | Keywords: | has-patch close |
| Cc: |
Description
This causes some issues when previewing Legacy Members, Groups...
The $bp->members->table_name_last_activity is not defined, BP Taxonomies are not registered etc..
The right fix should probably consist in hooking 'bp_init' to 'the_widget' when the REST endpoint previewing a widget is requested. For now the attached patch simply avoids PHP notices.
Attachments (1)
Change History (7)
#1
@
5 years ago
- Summary changed from WP 5.8 Block Editor legacy preview doesn't fire the `init` hook to WP 5.8 Wigdet Block Editor legacy preview doesn't fire the `init` hook
This ticket was mentioned in Slack in #buddypress by imath. View the logs.
5 years ago
This ticket was mentioned in Slack in #buddypress by imath. View the logs.
5 years ago
Note: See
TracTickets for help on using
tickets.
It looks like WordPress 5.8 fixed the issue. I'll keep the ticket opened until 5.8 RC is released and check it again.