[wp-trac] [WordPress Trac] #17601: Fatal Errors at URLs Such As canonical.php

WordPress Trac wp-trac at lists.automattic.com
Mon May 30 14:49:24 UTC 2011


#17601: Fatal Errors at URLs Such As canonical.php
--------------------------+------------------------------
 Reporter:  miqrogroove   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  trivial       |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by azaozz):

 There was an (quite) old ticket about adding
 {{{
 if ( !defined('ABSPATH') )
   die;
 }}}
 to the top of all files that are not a point of entry. Think it was
 decided it's not worth it as this can result in errors only when WordPress
 is uploaded to the server but not installed, i.e. for a very short period
 of time.

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


More information about the wp-trac mailing list