close
Skip to content

Allow wp:loginout inside of wp:navigation-submenu #75408

@Drivingralle

Description

@Drivingralle

Description

The Login/out block can not be added as sub-menu item inside the navigation block.

I think it's a very basic thing that should be possible with that block. It's a commen pattern to have a main menu item "My Account" an an Logout as a sub-menu item.

Step-by-step reproduction instructions

  1. Launch a new playground ✔
  2. Go to "Edit website" in Admin bar ✔
  3. Select header and click "Edit navigation" in tool bar ✔
  4. Add the "Login/out" block from the block collection into the existing menu ✔
  5. Add one of the default pages to the exisitng menu ✔
  6. Add a sub-menu to the page from last step ✔
  7. Add any default page as a sub-menu item ✔
  8. Try to move the login/out block into the same sub-menu ❌

Screenshots, screen recording, code snippet

No response

Environment info

No response

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

  • Yes

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Metadata

Metadata

Assignees

Labels

[Block] Login/outAffects the Login/out Block[Block] SubmenuAffects the Submenu Block - for submenus in navigation[Status] In ProgressTracking issues with work in progress[Type] EnhancementA suggestion for improvement.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions