Make WordPress Core

Opened 3 years ago

Last modified 4 months ago

#39003 new defect (bug)

menu_page_url() not working on Ajax call

Reported by: vinoth06 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.6.1
Component: General Keywords: needs-testing
Focuses: Cc:
PR Number:


menu_page_url( 'menu_slug', false ) is always returning empty string on AJAX response. The global $_parent_pages; is return NULL on AJAX call. But the same menu slug is working on normal page load.

Change History (1)

#1 @mostafa.s1990
4 months ago

  • Keywords needs-testing added
Note: See TracTickets for help on using tickets.