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

jquery-ui version mismatch #12

Open
robertmathews opened this issue Aug 2, 2022 · 1 comment
Open

jquery-ui version mismatch #12

robertmathews opened this issue Aug 2, 2022 · 1 comment

Comments

@robertmathews
Copy link

In inc/Base/Enqueue.php, there is:

24:		wp_enqueue_style('jquery-ui', parent::$plugin_url . 'scripts/jquery-ui-1.13.1/jquery-ui.min.css');
30:		wp_enqueue_script('jquery-ui', parent::$plugin_url . 'scripts/jquery-ui-1.13.1/jquery-ui.min.js', array(), false, true);

However, in the "scripts" directory, the version is "jquery-ui-1.12.1":

wp-todo/scripts$ ls
DataTables		css			jquery-ui-1.12.1	js

This causes "404 not found" results for the script:

[02/Aug/2022:08:54:30 -0700] "GET /wp-content/plugins/wp-todo/scripts/jquery-ui-1.13.1/jquery-ui.min.css HTTP/1.1" 404
@robertmathews
Copy link
Author

More specifically: the version of 1.2.7 on GitHub contains "scripts/jquery-ui-1.13.1", but the version on https://plugins.trac.wordpress.org/browser/wp-todo/trunk?order=name contains "scripts/jquery-ui-1.12.1". It appears that a change committed to git was not committed to WordPress svn.

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

No branches or pull requests

1 participant