WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #23805, comment 2


Ignore:
Timestamp:
02/16/2014 02:35:45 AM (7 years ago)
Author:
GregLone
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23805, comment 2

    v1 v2  
    66{{{
    77    default :
    8         $_object = apply_filters( $menu_item_data['menu-item-type'] . '_menu_item_type', false, $menu_item_data );
     8        $_object = apply_filters( 'ajax_' . $menu_item_data['menu-item-type'] . '_menu_item_object', false, $menu_item_data );
    99    break;
    1010}
     
    1717}
    1818}}}
     19
     20I guess something else would be needed for non-ajax.