Make WordPress Core

Opened 11 years ago

Closed 7 years ago

#14884 closed enhancement (fixed)

Add a filter inside admin-ajax.php for walker

Reported by: dmad Owned by:
Milestone: 3.4 Priority: normal
Severity: normal Version: 3.0.1
Component: Menus Keywords:
Focuses: Cc:


I'm trying to extend the Wordpress menu system and i can't get the things working from start because inside admin-ajax.php on line 841, there is no filter. I'm talking about this piece of code

if ( ! empty( $menu_items ) ) {
		$args = array(
			'after' => '',
			'before' => '',
			'link_after' => '',
			'link_before' => '',
			'walker' => new Walker_Nav_Menu_Edit,
		echo walk_nav_menu_tree( $menu_items, 0, (object) $args );

The Walker_Nav_Menu_Edit class is applied by default.
If someone can add a filter, it would be great for all developers.

Change History (2)

#1 @nacin
10 years ago

  • Component changed from General to Menus
  • Keywords needs-patch added; menu admin-ajax walker removed
  • Milestone changed from Awaiting Review to Future Release
  • Type changed from feature request to enhancement

#2 @johnbillion
7 years ago

  • Keywords needs-patch removed
  • Milestone changed from Future Release to 3.4
  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r20072

Note: See TracTickets for help on using tickets.