Skip to:
Content

BuddyPress.org

Ticket #5839: 5839.patch

File 5839.patch, 1.5 KB (added by boonebgorges, 7 years ago)
  • src/bp-core/bp-core-classes.php

    diff --git src/bp-core/bp-core-classes.php src/bp-core/bp-core-classes.php
    index 6e48852..a232360 100644
    class BP_Date_Query extends WP_Date_Query { 
    15471547         * Destructor.
    15481548         */
    15491549        public function __destruct() {
    1550                 remove_filter( 'date_query_valid_columns', array( $this, 'register_date_column' ) );   
     1550                remove_filter( 'date_query_valid_columns', array( $this, 'register_date_column' ) );
    15511551        }
    15521552
    15531553        /**
  • src/bp-xprofile/bp-xprofile-classes.php

    diff --git src/bp-xprofile/bp-xprofile-classes.php src/bp-xprofile/bp-xprofile-classes.php
    index d18a041..de81384 100644
    class BP_XProfile_Query { 
    36613661                }
    36623662
    36633663                // Don't recurse
    3664                 remove_action( 'bp_user_query_populate_extras', array( $xprofile_query, 'populate_extras' ), 10, 2 );
     3664                remove_action( 'bp_user_query_populate_extras', array( $this, 'populate_extras' ), 10, 2 );
    36653665        }
    36663666}
  • src/bp-xprofile/bp-xprofile-filters.php

    diff --git src/bp-xprofile/bp-xprofile-filters.php src/bp-xprofile/bp-xprofile-filters.php
    index 1ae80c0..f812cdd 100644
    function xprofile_filter_pre_validate_value_by_field_type( $value, $field, $fiel 
    200200/**
    201201 * Filter an Extended Profile field value, and attempt to make clickable links
    202202 * to members search results out of them.
    203  * 
     203 *
    204204 * - Not run on datebox field types
    205205 * - Not run on values without commas with less than 5 words
    206206 * - URL's are made clickable