mirror of
https://github.com/buddypress/buddypress.git
synced 2026-07-21 20:54:17 +08:00
In #7659, a bug was fixed where restricted subnav menus should be redirected instead of throwing a 404. The side-effect of the fix is this broke how plugins can register subnav menus before the parent nav is created. This commit rectifies the problem by not bailing out if the parent nav cannot be found during subnav menu registration. Includes a unit-test. Props dontdream, boonebgorges, r-a-y. Fixes #7931 (3.x branch). git-svn-id: https://buddypress.svn.wordpress.org/branches/3.0@12194 cdf35c40-ae34-48e0-9cc9-0c9da1808c22 |
||
|---|---|---|
| .. | ||
| functions | ||
| nav | ||
| template | ||
| avatars.php | ||
| cache.php | ||
| caps.php | ||
| class-bp-attachment.php | ||
| class-bp-button.php | ||
| class-bp-core-user.php | ||
| class-bp-email-recipient.php | ||
| class-bp-email.php | ||
| class-bp-media-extractor.php | ||
| class-bp-user-query.php | ||
| functions.php | ||
| suggestions-nonauth.php | ||
| suggestions.php | ||