Make WordPress Core


Ignore:
Timestamp:
09/25/2015 11:57:46 PM (11 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-admin/includes/meta-boxes.php

    r34364 r34566  
    346346 *     @type string   $id       Meta box ID.
    347347 *     @type string   $title    Meta box title.
    348  *     @type callback $callback Meta box display callback.
     348 *     @type callable $callback Meta box display callback.
    349349 *     @type array    $args     Extra meta box arguments.
    350350 * }
    … …  
    387387 *     @type string   $id       Meta box ID.
    388388 *     @type string   $title    Meta box title.
    389  *     @type callback $callback Meta box display callback.
     389 *     @type callable $callback Meta box display callback.
    390390 *     @type array    $args {
    391391 *         Extra meta box arguments.
    … …  
    443443 *     @type string   $id       Meta box ID.
    444444 *     @type string   $title    Meta box title.
    445  *     @type callback $callback Meta box display callback.
     445 *     @type callable $callback Meta box display callback.
    446446 *     @type array    $args {
    447447 *         Extra meta box arguments.
Note: See TracChangeset for help on using the changeset viewer.