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

Nicolas Kuttler wp-hackers at nicolaskuttler.de
Tue Sep 7 17:34:33 UTC 2010


On Tue, Sep 07, 2010 at 10:30:45PM +0530, Raj wrote:
> I think the appropriate file to include is wp-load.php
> 
> include ("../../../wp-load.php");

Please see

http://ottodestruct.com/blog/2010/dont-include-wp-load-please/

It's rather myserious why a theme would do that (unless a misguided
coder tried to implement some ajax).

Nicolas

--
Nicolas Kuttler
wp at nkuttler.de

http://www.nkuttler.de
http://www.nicolaskuttler.de (deutsch)


More information about the wp-hackers mailing list