Skip to content

Use addInlinejQuery() when rendering select2 helper#809

Merged
agibson-godaddy merged 1 commit intorelease/6.1.1from
mwc-19336/select2
Mar 23, 2026
Merged

Use addInlinejQuery() when rendering select2 helper#809
agibson-godaddy merged 1 commit intorelease/6.1.1from
mwc-19336/select2

Conversation

@agibson-godaddy
Copy link
Contributor

@agibson-godaddy agibson-godaddy commented Mar 23, 2026

Summary

This addresses the following error when using SV_WC_Helper::render_select2_ajax():

sv-wc-select2-js-after:3 Uncaught TypeError: $ is not a function
    at sv-wc-select2-js-after:3:12
    at sv-wc-select2-js-after:105:7

Story: MWC-19336

QA

Before merge

  • I have confirmed these changes in each supported minor WooCommerce version

@agibson-godaddy agibson-godaddy marked this pull request as ready for review March 23, 2026 12:03
@agibson-godaddy agibson-godaddy self-assigned this Mar 23, 2026
@agibson-godaddy agibson-godaddy changed the title Add inline jQuery Use addInlinejQuery() when rendering select2 helper Mar 23, 2026
@agibson-godaddy agibson-godaddy merged commit e00a762 into release/6.1.1 Mar 23, 2026
5 checks passed
@agibson-godaddy agibson-godaddy deleted the mwc-19336/select2 branch March 23, 2026 12:04
@agibson-godaddy agibson-godaddy mentioned this pull request Mar 23, 2026
2 tasks
agibson-godaddy added a commit that referenced this pull request Mar 23, 2026
* Version 6.1.1

* Add inline jQuery (#809)

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ashley Gibson <99189195+agibson-godaddy@users.noreply.github.com>
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.

1 participant