This pull request addresses an issue with the detection of iconPickerUrl when the URL contains parameters, such as /universal-icon-picker.js?ver=3.0.0. The fix ensures that the iconPickerUrl is correctly identified regardless of the presence of URL parameters, improving the reliability of the Universal Icon Picker.
Hi!
I'm creating an Icon Picker field for ACF for WordPress, and WordPress often adds parameters to URLs, including JS and CSS The fix makes the code more universal.
This pull request addresses an issue with the detection of iconPickerUrl when the URL contains parameters, such as /universal-icon-picker.js?ver=3.0.0. The fix ensures that the iconPickerUrl is correctly identified regardless of the presence of URL parameters, improving the reliability of the Universal Icon Picker.