Hi, My plugin needs higher jQuery version library on admin settings page than it is included in WordPress by default. If I load custom jQuery and jQuery-UI only on admin settings page, will it be rejected by reviewers? What can I do to fix this issue beside loading custom jQuery and jQuery-UI?
It should and will be rejected. Plugins, themes and WordPress depend on the jQuery version bundled with WordPress, and changing it results in errors almost always. Also, jQuery 3 is not compatible with old browsers.
Creating a plugin for jQuery may be your solution but no guarente - otherwise, overwriting the current version on the functions.php will cause rejection as @GDragoN said
You can have multiple jQuery versions on the same page, just use the noConflict function https://api.jquery.com/jquery.noconflict/
// Load jQuery Version A:
var jQueryVersionA = $.noConflict(true);
// Load jQuery Version B:
var jQueryVersionB = $.noConflict(true);
Solved. My jQuery script was not in noConflict mode and that’s why I needed my custom jQuery.