[buddypress-trac] [BuddyPress Trac] #8842: Filter to stop assets loading outside of BuddyPress Core is not working
buddypress-trac
noreply at wordpress.org
Tue Apr 25 22:17:40 UTC 2023
#8842: Filter to stop assets loading outside of BuddyPress Core is not working
--------------------------+---------------------
Reporter: DeFries | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 12.0.0
Component: Core | Version: 11.1.0
Severity: normal | Resolution:
Keywords: needs-patch |
--------------------------+---------------------
Comment (by imath):
In [changeset:"13464" 13464]:
{{{
#!CommitTicketReference repository="" revision="13464"
Update all BP Blocks & Modern JS PHP registration code
- Use the `metadata` argument of the `bp_register_block()` function to
load all BP Blocks JSON files.
- Get BP Blocks dependencies using the `@wordpress/scripts`
`index.asset.php` generated files.
- Although the BP Blocks category has been replaced by the BP Blocks
collection, leave the no more used `bp_block_category()` function in place
in case some third party plugins are using it for their custom blocks.
- PHPUnit tests: make sure to unregister all BP Blocks when using the
`BP_UnitTestCase->go_to()` method.
See #8842
Fixes #8457
Closes https://github.com/buddypress/buddypress/pull/92
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8842#comment:4>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list