Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enqueue jQuery and wp.apiRequest for use within callbacks. #561

Merged
merged 1 commit into from
May 3, 2023

Conversation

dd32
Copy link
Member

@dd32 dd32 commented May 2, 2023

What?

Enqueues jQuery and wp-api-request as required by the JS UI handlers.

Fixes #558

Why?

These are dependencies of the JS.

How?

Testing Instructions

See #558

Screenshots or screencast

Changelog Entry

Fixed - Two Factor UI inoperable when Application Passwords disabled.

@dd32 dd32 merged commit ff00842 into WordPress:master May 3, 2023
@dd32 dd32 deleted the fix/558-wpapi-dependency-minimal branch May 3, 2023 06:43
@jeffpaul jeffpaul added this to the 0.9.0 milestone May 8, 2023
@jeffpaul jeffpaul modified the milestones: 0.9.0, 0.8.2 May 24, 2023
@kasparsd kasparsd mentioned this pull request Apr 23, 2024
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.

Missing script dependency: Uncaught TypeError: wp.apiRequest is not a function
2 participants