[wp-hackers] Getting a 404 error when requesting a .php file as a stylesheet in WP 3.0.1

John Blackbourn johnbillion+wp at gmail.com
Sat Sep 4 22:07:24 UTC 2010

Does the file have a query var on the end of the URL? Eg.
bla.php?ver=3.0 . I had this same issue and changed the version
parameter in wp_enqueue_script() (I think I changed it to '1') and
mysteriously it fixed the issue. Never had a chance to look into it

On Sat, Sep 4, 2010 at 9:15 PM, scribu <scribu at gmail.com> wrote:
> If you say it worked with 2.9 and doesn't work anymore in 3.0, the first
> thing I would check is the code inside the custom-styles.php file.
> I bet .02 cents that the theme is loading WP from there, when it should hook
> into 'init' instead.
> --
> http://scribu.net
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

More information about the wp-hackers mailing list