[wp-hackers] Getting a 404 error when requesting a .php file as a stylesheet in WP 3.0.1
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.
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers