Make WordPress Core


Ignore:
Timestamp:
05/19/2014 05:29:42 PM (11 years ago)
Author:
wonderboymusic
Message:

WP_Date_Query was only missing one access modifier.

Add access modifier (public) to all default widgets' class methods.

See #27881, #22234.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/date.php

    r28252 r28532  
    106106     *                              'comment_date', 'comment_date_gmt'.
    107107     */
    108     function __construct( $date_query, $default_column = 'post_date' ) {
     108    public function __construct( $date_query, $default_column = 'post_date' ) {
    109109        if ( empty( $date_query ) || ! is_array( $date_query ) )
    110110            return;
Note: See TracChangeset for help on using the changeset viewer.