Make WordPress Core

Changes between Version 2 and Version 3 of Ticket #49500, comment 3


Ignore:
Timestamp:
02/28/2020 07:06:53 AM (6 years ago)
Author:
BackuPs
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #49500, comment 3

    v2 v3  
    1919        $item_id = esc_attr( $item->ID );
    2020
     21        parent::start_el($output, $item, $depth, $args);
     22
    2123        ob_start();
    2224        do_action( 'wp_nav_menu_item_custom_fields', $item_id, $item, $depth, $args );         
     
    2426
    2527        $desc_snipp = '<div class="menu-item-actions description-wide submitbox">';
    26                 parent::start_el($output, $item, $depth, $args);
    27                
     28
    2829        $pos = strrpos( $output, $desc_snipp );
    2930        if( $pos !== false ) {