[wp-trac] [WordPress Trac] #14052: File get http status 404 but is served !

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 24 08:21:52 UTC 2010


#14052: File get http status 404 but is served !
--------------------------+-------------------------------------------------
 Reporter:  maximeh       |       Owner:                   
     Type:  defect (bug)  |      Status:  new              
 Priority:  normal        |   Milestone:  Unassigned       
Component:  General       |     Version:  3.0              
 Severity:  normal        |    Keywords:  reporter-feedback
--------------------------+-------------------------------------------------
Changes (by dd32):

  * keywords:  => reporter-feedback
  * component:  HTTP => General


Comment:

 How is the plugin including WordPress? by directly including 'wp-blog-
 header.php', 'wp-load.php' or 'wp-config.php'? Try wp-load instead.

 Plugins should not be including WordPress directly by files in their
 plugin folder, this has the nasty effect of breaking on many servers.

 All recomendations should be to use a wordpress entry point such as
 <homeurl>/?load-plugin-css or use admin-ajax/admin-post.php files (Both of
 which include non-user-logged-in hooks)

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14052#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list