WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/25/2014 06:13:15 AM (7 years ago)
Author:
DrewAPicture
Message:

Ensure the nav_menu_meta_box_object filter hook is only documented once.

See #26869.

File:
1 edited

Legend:

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

    r28163 r28207  
    11751175    if ( ! empty( $_POST['item-object'] ) && isset( $items[$_POST['item-object']] ) ) {
    11761176        $menus_meta_box_object = $items[ $_POST['item-object'] ];
    1177         /**
    1178          * Filter a nav menu meta box object.
    1179          *
    1180          * @since 3.0.0
    1181          *
    1182          * @param object $menus_meta_box_object A nav menu meta box object, such as Page,
    1183          *                                      Post, Category, Tag, etc.
    1184          */
     1177
     1178        /** This filter is documented in wp-admin/includes/nav-menu.php */
    11851179        $item = apply_filters( 'nav_menu_meta_box_object', $menus_meta_box_object );
    11861180        ob_start();
Note: See TracChangeset for help on using the changeset viewer.