buddypress/tests/testcases
Boone B Gorges 2651aceb77 Allow 0 to be stored in activitymeta
Previously, any value where empty( $value ) evaluated to true would result
in the deletion of the row. This change allows for 0 to be stored as a
legitimate value.

This is a stopgap until BP's meta functions are refactored to use WP's core
*_metadata() functions.

Fixes #5083

git-svn-id: https://buddypress.svn.wordpress.org/trunk@7576 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
2013-11-15 21:08:20 +00:00
..
activity Allow 0 to be stored in activitymeta 2013-11-15 21:08:20 +00:00
admin In BP_UnitTestCase::create_user(), default to last_activity one year ago 2013-06-07 11:16:17 +00:00
blogs In blogs tests, reset current user after testcases 2013-06-07 11:22:26 +00:00
core Introduce bp_alpha_sort_by_key() 2013-10-14 23:28:45 +00:00
friends Fake some critical globals when running unit tests that touch wp_mail() 2013-11-02 17:49:35 +00:00
groups Set missing variable in BP_Groups_Group test 2013-11-15 20:57:01 +00:00
members Fake some critical globals when running unit tests that touch wp_mail() 2013-11-02 17:49:35 +00:00
routing Avoid E_STRICT warning when running activity test 2013-11-02 17:51:43 +00:00
url Fixes test_bp_core_ajax_url() for new multisite unit test global manipulation 2013-05-13 14:25:08 +00:00
xprofile Sanitize more gently in component *_update_meta() functions 2013-10-23 18:47:16 +00:00