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

WordPress Trac noreply at wordpress.org
Thu Jul 21 15:59:08 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
----------------------------+-------------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"53749" 53749]:
 {{{
 #!CommitTicketReference repository="" revision="53749"
 Coding Standards: Move `wp-includes/wp-db.php` to `wp-includes/class-
 wpdb.php`.

 This renames the file containing the `wpdb` class to conform to the coding
 standards.

 This commit also includes:
 * A new `wp-db.php` that loads the new file, for anyone that may have been
 including the file directly.
 * Replacing references to the old filename with the new filename.

 Fixes #56268. See #55647.
 }}}

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


More information about the wp-trac mailing list