Make WordPress Core

Changeset 45678


Ignore:
Timestamp:
07/25/2019 11:30:21 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Move wp-includes/date.php to wp-includes/class-wp-date-query.php.

This renames the file containing the WP_Date_Query class to conform to the coding standards.

This commit also includes:

  • A new date.php that includes the new file, for anyone that may've been including the file directly.
  • Replaces references to the old filename with the new filename.

Fixes #47775. See #47632.

Location:
trunk/src
Files:
1 added
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-settings.php

    r45663 r45678  
    160160require( ABSPATH . WPINC . '/class-wp-query.php' );
    161161require( ABSPATH . WPINC . '/query.php' );
    162 require( ABSPATH . WPINC . '/date.php' );
     162require( ABSPATH . WPINC . '/class-wp-date-query.php' );
    163163require( ABSPATH . WPINC . '/theme.php' );
    164164require( ABSPATH . WPINC . '/class-wp-theme.php' );
Note: See TracChangeset for help on using the changeset viewer.