Make WordPress Core


Ignore:
Timestamp:
07/14/2020 11:54:26 AM (5 years ago)
Author:
johnbillion
Message:

Docs: Correct and improve inline docs for parameters that accept a callback function.

See #49572

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/nav-menu.php

    r48100 r48473  
    333333 *     @type string       $id       Meta box 'id' attribute.
    334334 *     @type string       $title    Meta box title.
    335  *     @type string       $callback Meta box display callback.
     335 *     @type callable     $callback Meta box display callback.
    336336 *     @type WP_Post_Type $args     Extra meta box arguments (the post type object for this meta box).
    337337 * }
     
    685685 *     Taxonomy menu item meta box arguments.
    686686 *
    687  *     @type string $id       Meta box 'id' attribute.
    688  *     @type string $title    Meta box title.
    689  *     @type string $callback Meta box display callback.
    690  *     @type object $args     Extra meta box arguments (the taxonomy object for this meta box).
     687 *     @type string   $id       Meta box 'id' attribute.
     688 *     @type string   $title    Meta box title.
     689 *     @type callable $callback Meta box display callback.
     690 *     @type object   $args     Extra meta box arguments (the taxonomy object for this meta box).
    691691 * }
    692692 */
Note: See TracChangeset for help on using the changeset viewer.