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/meta-boxes.php

    r37985 r38131  
    1414 *     Array of arguments for building the post submit meta box.
    1515 *
    16  *     @type string   $id       Meta box ID.
     16 *     @type string   $id       Meta box 'id' attribute.
    1717 *     @type string   $title    Meta box title.
    1818 *     @type callable $callback Meta box display callback.
     
    354354 *     Post formats meta box arguments.
    355355 *
    356  *     @type string   $id       Meta box ID.
     356 *     @type string   $id       Meta box 'id' attribute.
    357357 *     @type string   $title    Meta box title.
    358358 *     @type callable $callback Meta box display callback.
     
    395395 *     Tags meta box arguments.
    396396 *
    397  *     @type string   $id       Meta box ID.
     397 *     @type string   $id       Meta box 'id' attribute.
    398398 *     @type string   $title    Meta box title.
    399399 *     @type callable $callback Meta box display callback.
     
    456456 *     Categories meta box arguments.
    457457 *
    458  *     @type string   $id       Meta box ID.
     458 *     @type string   $id       Meta box 'id' attribute.
    459459 *     @type string   $title    Meta box title.
    460460 *     @type callable $callback Meta box display callback.
Note: See TracChangeset for help on using the changeset viewer.