WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/25/2015 11:57:46 PM (5 years ago)
Author:
johnbillion
Message:

callback is not a valid type in PHP, PSR-5, or phpDocumentor. callable should be used instead.

Fixes #34032

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post-functions.php

    r34513 r34566  
    941941 *     @type array       $supports             An alias for calling {@see add_post_type_support()} directly.
    942942 *                                             Defaults to array containing 'title' & 'editor'.
    943  *     @type callback    $register_meta_box_cb Provide a callback function that sets up the meta boxes for the
     943 *     @type callable    $register_meta_box_cb Provide a callback function that sets up the meta boxes for the
    944944 *                                             edit form. Do remove_meta_box() and add_meta_box() calls in the
    945945 *                                             callback. Default null.
Note: See TracChangeset for help on using the changeset viewer.