Opened 15 years ago
Closed 15 years ago
#13138 closed defect (bug) (fixed)
Show warning if the menu name already exists
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.0 | Priority: | normal |
Severity: | normal | Version: | 3.0 |
Component: | Menus | Keywords: | needs-patch |
Focuses: | Cc: |
Description
At the moment you get a warning:
Notice: Trying to get property of non-object in H:\xampplite\htdocs\wp\wp-admin\nav-menus.php on line 208
and a wrong message, because it hasn't been created.
The menu has been successfully created.
Attachments (4)
Change History (11)
#3
@
15 years ago
- Cc ocean90@… added
Notice: Undefined index: menu-item-db-id in H:\xampplite\htdocs\wp\wp-admin\nav-menus.php on line 232
You get this message, if the menu doesn't have any items.
Note: See
TracTickets for help on using
tickets.
There is somethink similar:
Create a menu with name 1 and a menu with name 2, after that change the name of 2 to 1. The name of menu 2 should be now 1.
If you change the name, you should also get this warning: