Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/13/2014 03:50:39 AM (12 years ago)
Author:
boonebgorges
Message:

Migrate xprofilemeta functions to the WP metadata API

The case of XProfile metadata is complex, because xprofile groups, fields, and
data all store their metadata in a single table, differentiated by object_type.
This complication requires additional filters on WP's core metadata queries.

See #4551

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/testcases/xprofile/functions.php

    r7856 r7862  
    235235
    236236        // These will fail because of a caching bug
    237         //$this->assertEquals( '', bp_xprofile_get_meta( $g->id, 'group', 'foo' ) );
    238         //$this->assertEquals( '', bp_xprofile_get_meta( $g->id, 'group', 'foo2' ) );
     237        $this->assertEquals( '', bp_xprofile_get_meta( $g->id, 'group', 'foo' ) );
     238        $this->assertEquals( '', bp_xprofile_get_meta( $g->id, 'group', 'foo2' ) );
    239239    }
    240240
Note: See TracChangeset for help on using the changeset viewer.