Skip to:
Content

BuddyPress.org

Changeset 8795


Ignore:
Timestamp:
08/11/2014 08:16:52 PM (7 years ago)
Author:
djpaul
Message:

Another attempt at fixing the date_query unit tests failures on PHP 5.2 and WordPress trunk.

See #5803 and https://travis-ci.org/buddypress/BuddyPress/jobs/32239701

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-classes.php

    r8787 r8795  
    15441544
    15451545    /**
    1546      * Destructor.
    1547      */
    1548     public function __destruct() {
    1549         remove_filter( 'date_query_valid_columns', array( $this, 'register_date_column' ) );   
    1550     }
    1551 
    1552     /**
    15531546     * Registers our date column with WP Date Query to pass validation.
    15541547     *
Note: See TracChangeset for help on using the changeset viewer.