Opened 16 years ago
Closed 16 years ago
#13138 closed defect (bug) (fixed)
Show warning if the menu name already exists
| Reported by: | ocean90 | Owned by: | filosofo |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | Menus | Version: | 3.0 |
| Severity: | normal | Keywords: | needs-patch |
| Cc: | Focuses: |
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)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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: