[wp-trac] [WordPress Trac] #56268: Rename wp-db.php to class-wpdb.php

WordPress Trac noreply at wordpress.org
Thu Jul 21 22:43:38 UTC 2022


#56268: Rename wp-db.php to class-wpdb.php
----------------------------+-------------------------------
 Reporter:  SergeyBiryukov  |       Owner:  SergeyBiryukov
     Type:  enhancement     |      Status:  closed
 Priority:  normal          |   Milestone:  6.1
Component:  Database        |     Version:
 Severity:  normal          |  Resolution:  fixed
 Keywords:                  |     Focuses:  coding-standards
----------------------------+-------------------------------

Comment (by SergeyBiryukov):

 In [changeset:"53756" 53756]:
 {{{
 #!CommitTicketReference repository="" revision="53756"
 Coding Standards: Use `__DIR__` instead of `ABSPATH` in `wp-db.php`.

 If the file is included directly outside of WordPress core, `ABSPATH` may
 not be defined.

 Follow-up to [53749], [53750], [53755].

 See #56268, #55647.
 }}}

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


More information about the wp-trac mailing list