mirror of
https://gh.wpcy.net/https://github.com/buddypress/buddypress.git
synced 2026-06-01 06:04:04 +08:00
When checking a submitted array of values, ensure that the `foreach` breaks when an invalid value is encountered. Previously, the `foreach` returned the validity of the last element in the array. Also update unit tests so that invalid values appear in various positions in the array of values to check. Fixes #6884. git-svn-id: https://buddypress.svn.wordpress.org/trunk@10592 cdf35c40-ae34-48e0-9cc9-0c9da1808c22 |
||
|---|---|---|
| .. | ||
| assets | ||
| includes | ||
| testcases | ||
| bootstrap.php | ||
| multisite.xml | ||