[wp-trac] [WordPress Trac] #47775: Rename date.php to class-wp-date-query.php

WordPress Trac noreply at wordpress.org
Thu Jul 25 21:17:33 UTC 2019


#47775: Rename date.php to class-wp-date-query.php
------------------------------+--------------------
 Reporter:  SergeyBiryukov    |      Owner:  (none)
     Type:  enhancement       |     Status:  new
 Priority:  normal            |  Milestone:  5.3
Component:  Query             |    Version:
 Severity:  normal            |   Keywords:
  Focuses:  coding-standards  |
------------------------------+--------------------
 Background: #47632

 [45663] renamed `wp-includes/class-oembed.php` to `wp-includes/class-wp-
 oembed.php` to conform to [https://make.wordpress.org/core/handbook/best-
 practices/coding-standards/php/#naming-conventions naming conventions] in
 WordPress coding standards.

 The same should be done to the `WP_Date_Query` class, which currently
 resides in `wp-includes/date.php` and should be moved to `wp-includes
 /class-wp-date-query.php`.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47775>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list