woocommerce / projects

38 stars 24 forks source link

$this->assets_url not defined locally #41

Closed helgatheviking closed 10 years ago

helgatheviking commented 10 years ago

Not major, but when I am working locally, the URLs to the plugin's CSS isn't generated correctly:

<link rel='stylesheet' id='projects-admin-css'  href='http://localhost/css/admin.css?ver=1.0.0' type='text/css' media='all' />

Why not use plugins_url()?

jameskoster commented 10 years ago

strange, I'm not seeing that issue in my local setup. This is the same method we use in our other plugins - do you have the same issue with those? (Testimonials, Our Team etc)

jameskoster commented 10 years ago

Actually, it was slightly different - does that work?

helgatheviking commented 10 years ago

Once you make the same change to the admin class, then yes that does work.

jameskoster commented 10 years ago

look at me, editing the wrong file :-D