#8291 closed defect (bug) (fixed)
BuddyPress Menus - Select all menu items is not adding all available menu items
Reported by: | vapvarun | Owned by: | slaFFik |
---|---|---|---|
Milestone: | 7.0.0 | Priority: | normal |
Severity: | normal | Version: | 5.2.0 |
Component: | Administration | Keywords: | early needs-refresh |
Cc: |
Description
BuddyPress - 5.2.0
Tested with BuddyPress 6.0.0-RC2
Active theme: 2020 theme
https://prnt.sc/sbh0bj
Clicking at Select all just reload the page.
https://www.awesomescreenshot.com/video/68020?key=e2b5caad282125d439bd4f3b00c5c77d
Attachments (2)
Change History (14)
#1
@
4 years ago
- Component changed from Core to Administration
- Keywords needs-patch added
- Owner set to slaFFik
#2
@
4 years ago
- Keywords has-patch early added; needs-patch removed
- Milestone changed from Awaiting Review to Up Next
The attached patch should fix the issue, but it needs to make an i18n string change. Moreover, I believe logged-in & logged-out items should be in 2 different tabs, otherwise it seems to me it makes no sense to select all logged-in & logged-out items.
Let's work on it during next release.
#4
@
4 years ago
@imath I think it's fine to keep a single select all as logout menus only display when someone is not logged in and others are for logged in only, in that way a dedicated user menu with all these menus will not be blank for login/log-out users by default.
#5
@
4 years ago
Sure, but having it organized in 2 tabs instead of 1 doesn't prevent you to add logged-in and logged-out menu items in the same menu.
#6
@
4 years ago
In 8291-2.patch I suggest to change how we've been generating the accordion menu output to avoid checking if WordPress version is >= 5.3.
It needs some more testing (especially for WordPress < 5.3) and to deprecate the BP_Walker_Nav_Menu_Checklist
class and corresponding file. Here's a screenshot:
This ticket was mentioned in Slack in #buddypress by imath. View the logs.
4 years ago
#8
@
4 years ago
@imath Tested with v5.2.7 and worked perfectly https://www.youtube.com/watch?v=8XdJHeKYuSU&feature=youtu.be
Hi @vapvarun
Thanks for your feedback. That's probably because the "Select All" link was converted to a checkbox in WordPress 5.3. See https://core.trac.wordpress.org/ticket/47048 I agree this is something we need to fix. I'm looking at it to see if we can include this in 6.0.0.