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

#1 - 404 on scripts and stylesheets #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wikitopian
Copy link

Admittedly, my WordPress installation is idiosyncratic, and the issue would only affect a fraction of users, but I believe the code you used to support ancient versions of WP can be safely retired at this point and that the replacement code utilizing plugin_dir_url() is simpler, more reliable, and more compliant with best practices.

The plugin was broken for me, with the following client-side errors, before the patch.

GET http://localhost/***.amazonaws.com/~ubuntu/content/plugins/wordpress-console/console.css?ver=3.6-alpha-23257 404 (Not Found) admin.php:29
GET http://localhost/***.amazonaws.com/~ubuntu/content/plugins/wordpress-console/console.js?ver=3.6-alpha-23257 404 (Not Found) admin.php:30
GET http://localhost/***.amazonaws.com/~ubuntu/content/plugins/wordpress-console/sha1.js?ver=3.6-alpha-23257 404 (Not Found) admin.php:30

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