jerodsanto / wordpress-console

An interactive console for WordPress developers
MIT License
66 stars 9 forks source link

Wordpress not in root #2

Closed matheuseduardo closed 15 years ago

matheuseduardo commented 15 years ago

In file console.js, at line 11, is assigning "self.url" to '/wp-content/plugins/wordpress-console/', but, if wordpress install is not in root, like my blog is in '/blog', the ajax request must receive 404 error, becaus the correct path (in self.url) should be '/blog/wp-content/plugins/wordpress-console/'.

There must be some way to fix it.

By the way, VERY NICE job! I like it so much! :D

jerodsanto commented 15 years ago

This has been fixed. Please update to newest version and confirm that its working. Thanks.