Skip to content

add carbon_fields_get_assets_context filter to allow forcing of context#866

Open
joeyblake wants to merge 1 commit intohtmlburger:developmentfrom
Knucklepuck:fix/loader-context-filter
Open

add carbon_fields_get_assets_context filter to allow forcing of context#866
joeyblake wants to merge 1 commit intohtmlburger:developmentfrom
Knucklepuck:fix/loader-context-filter

Conversation

@joeyblake
Copy link
Contributor

Current carbonfields checks if wp-element is equeued to determine which context to load (gutenberg/classic) Plugins can break this lookup by enqueueing wp-element on their own for example the Yoast plugin. This filter allows forcing of asset context in that situation.

Fix #857

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Conflict with Yoast

1 participant