Make WordPress Core


Ignore:
Timestamp:
07/21/2016 07:23:56 PM (9 years ago)
Author:
SergeyBiryukov
Message:

Docs: In meta box functions, clarify that "Meta box ID" refers to the id attribute of the meta box and not a numeric ID.

Fixes #37211.

File:
1 edited

Legend:

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

    r38130 r38131  
    301301 *     Post type menu item meta box arguments.
    302302 *
    303  *     @type string       $id       Meta box ID (used in the 'id' attribute for the meta box).
     303 *     @type string       $id       Meta box 'id' attribute.
    304304 *     @type string       $title    Meta box title.
    305305 *     @type string       $callback Meta box display callback.
     
    588588 *     Data that will be used as arguments of the taxonomy meta box.
    589589 *
    590  *     @type string $id       Meta box ID (used in the 'id' attribute for the meta box).
     590 *     @type string $id       Meta box 'id' attribute.
    591591 *     @type string $title    Meta box title.
    592592 *     @type string $callback Meta box display callback.
Note: See TracChangeset for help on using the changeset viewer.