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

Fixes #34032


git-svn-id: https://develop.svn.wordpress.org/trunk@34566 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2015-09-25 23:57:46 +00:00
parent ea23f4603c
commit 1bb2876fe6
19 changed files with 68 additions and 68 deletions

View File

@@ -940,7 +940,7 @@ function get_post_types( $args = array(), $output = 'names', $operator = 'and' )
* Default false.
* @type array $supports An alias for calling {@see add_post_type_support()} directly.
* Defaults to array containing 'title' & 'editor'.
* @type callback $register_meta_box_cb Provide a callback function that sets up the meta boxes for the
* @type callable $register_meta_box_cb Provide a callback function that sets up the meta boxes for the
* edit form. Do remove_meta_box() and add_meta_box() calls in the
* callback. Default null.
* @type array $taxonomies An array of taxonomy identifiers that will be registered for the