Opened 2 years ago
Last modified 4 weeks ago
#16787 new defect (bug)
Removing title from a page (blank title) results in collapsed UI element in menu builder
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Menus | Version: | 3.1 |
| Severity: | normal | Keywords: | ui-feedback has-patch |
| Cc: | mdhansen@… |
Description
This minor issue has to do with the custom menu interface and titleless pages pages - this is handled somewhat gracefully when you initially create a titleless page using (pending) placeholder text, so I thought I would report it.
Issue preconditions
- WordPress 3.1
- Page created with title and body text
- Page added to a custom menu and saved
Steps to recreate
- remove title from the page from one of the "edit page" UIs
- visit the Menus interface
- you should now see a collapsed menu item in the menu creation interface (screenshot attached
Tested In: Chrome OSX 10.0.648.127 | Firefox OSX 3.6.13
Attachments (3)
Change History (8)
- Keywords needs-patch added
- Severity changed from minor to normal
Test results: True. UI Collapse. (Only 3.1, doesn't happen in other versions!)
- Keywords has-patch added; needs-patch removed
A quick fix would be adding CSS min-height to the title (patch attached). Another direction would be outputting a default title such as (No title) to keep the title box occupied when there's nothing there.
to me it looks like as if the wrapping element is not taking care of such. Adding a default title would probably the most easy hotfix or just adding good old to the output.
comment:4
MikeHansenMe — 7 months ago
- Cc mdhansen@… added
comment:5
SergeyBiryukov — 4 weeks ago
Related: #24146

screenshot showing collapsed menu item