WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#29771 closed defect (bug) (invalid)

add_menu_page adding parent item as submenu item automatically

Reported by: mr.seejee Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.0
Component: Menus Keywords:
Focuses: Cc:

Description

add_menu_page adding parent item and automatically add submenu item itself like:
add_menu_page('Example', 'Example' ....)
It must be show as parent Example without child.

BUT

It is showing like:
Example

  • Example

reference: http://cideator.com/wp-bug/menu-bug.jpg

Attachments (1)

menu-bug.jpg (26.0 KB) - added by mr.seejee 5 years ago.
Menu show like this now

Download all attachments as: .zip

Change History (4)

@mr.seejee
5 years ago

Menu show like this now

#1 @mr.seejee
5 years ago

  • Resolution set to invalid
  • Status changed from new to closed

#2 @mr.seejee
5 years ago

It was programming problem, not core bug.

#3 @SergeyBiryukov
5 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.