[wp-hackers] Funky Four-O-Four

Mark Jaquith mark.wordpress at txfx.net
Wed Jun 7 14:19:46 GMT 2006


On Jun 7, 2006, at 10:14 AM, Sam Angove wrote:

> single_comments.php loads wp-blog-header.php, which in turn attempts
> to find content matching the request parameters. It fails and returns
> a 404. A WordPress 404 page isn't returned because WP_USE_THEMES isn't
> defined.

Nicely done.  The solution may be to load wp-config.php instead... if  
you only need WordPress' functions and data structure, and not an  
automatic posts query attempt.
--
Mark Jaquith
http://txfx.net/




More information about the wp-hackers mailing list