mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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:
@@ -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