[wp-trac] [WordPress Trac] #55067: Use of undefined constant ABSPATH - assumed 'ABSPATH' as of WP5.9

WordPress Trac noreply at wordpress.org
Mon Jun 12 15:40:07 UTC 2023


#55067: Use of undefined constant ABSPATH - assumed 'ABSPATH' as of WP5.9
-----------------------------------+------------------------------
 Reporter:  maveloweb              |       Owner:  (none)
     Type:  enhancement            |      Status:  new
 Priority:  normal                 |   Milestone:  Awaiting Review
Component:  Security               |     Version:  5.9
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:
-----------------------------------+------------------------------
Changes (by maveloweb):

 * keywords:  has-patch close 2nd-opinion => has-patch 2nd-opinion


Comment:

 Primarily due to [comment:2 comment #2], I remain an advocate for checking
 required constants.

 I do not how one, or even a few, calls to ''defined()'' can be considered
 a ''server resources'' problem.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55067#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list