Make WordPress Core


Ignore:
Timestamp:
04/25/2014 06:49:48 AM (11 years ago)
Author:
DrewAPicture
Message:

Ensure the wp_edit_nav_menu_walker filter is only documented once.

See #26869.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/ajax-actions.php

    r28207 r28213  
    957957    }
    958958
    959     /**
    960      * Filter the Walker class used when adding nav menu items.
    961      *
    962      * @since 3.4.0
    963      *
    964      * @param string $class   The walker class to use. Default 'Walker_Nav_Menu_Edit'.
    965      * @param int    $menu_id The menu id, derived from $_POST['menu'].
    966      */
     959    /** This filter is documented in wp-admin/includes/nav-menu.php */
    967960    $walker_class_name = apply_filters( 'wp_edit_nav_menu_walker', 'Walker_Nav_Menu_Edit', $_POST['menu'] );
    968961
Note: See TracChangeset for help on using the changeset viewer.