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

@@ -345,7 +345,7 @@ function attachment_submit_meta_box( $post ) {
*
* @type string $id Meta box ID.
* @type string $title Meta box title.
* @type callback $callback Meta box display callback.
* @type callable $callback Meta box display callback.
* @type array $args Extra meta box arguments.
* }
*/
@@ -386,7 +386,7 @@ function post_format_meta_box( $post, $box ) {
*
* @type string $id Meta box ID.
* @type string $title Meta box title.
* @type callback $callback Meta box display callback.
* @type callable $callback Meta box display callback.
* @type array $args {
* Extra meta box arguments.
*
@@ -442,7 +442,7 @@ function post_tags_meta_box( $post, $box ) {
*
* @type string $id Meta box ID.
* @type string $title Meta box title.
* @type callback $callback Meta box display callback.
* @type callable $callback Meta box display callback.
* @type array $args {
* Extra meta box arguments.
*