Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/08/2015 02:13:03 AM (11 years ago)
Author:
r-a-y
Message:

Remove class_exists() check for the WP_Date_Query class.

BuddyPress 2.4.0 bumps our minimum WP version to WP 3.8, which supports
the WP_Date_Query class.

Props DJPaul.

Fixes #6621.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-notifications/classes/class-bp-notifications-notification.php

    r10141 r10210  
    814814
    815815                // Bail if not a proper date query format
    816                 if ( empty( $date_query ) || ! is_array( $date_query ) || ! class_exists( 'BP_Date_Query' ) ) {
     816                if ( empty( $date_query ) || ! is_array( $date_query ) ) {
    817817                        return '';
    818818                }
Note: See TracChangeset for help on using the changeset viewer.