Skip to content

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

Merged
dd32 merged 1 commit into
WordPress:masterfrom
dd32:fix/558-wpapi-dependency-minimal
May 3, 2023
Merged

Enqueue jQuery and wp.apiRequest for use within callbacks.#561
dd32 merged 1 commit into
WordPress:masterfrom
dd32:fix/558-wpapi-dependency-minimal

Conversation

@dd32

@dd32 dd32 commented May 2, 2023

Copy link
Copy Markdown
Member

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
@jeffpaul jeffpaul modified the milestones: 0.8.2, 0.9.0 Jul 3, 2025
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