callback is not a valid type in PHP, PSR-5, or phpDocumentor. callable should be used instead.
Fixes #34032 Built from https://develop.svn.wordpress.org/trunk@34566 git-svn-id: http://core.svn.wordpress.org/trunk@34530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user