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:
@@ -48,7 +48,7 @@ function _usort_by_first_member( $a, $b ) {
|
||||
* @param string $id Importer tag. Used to uniquely identify importer.
|
||||
* @param string $name Importer name and title.
|
||||
* @param string $description Importer description.
|
||||
* @param callback $callback Callback to run.
|
||||
* @param callable $callback Callback to run.
|
||||
* @return WP_Error Returns WP_Error when $callback is WP_Error.
|
||||
*/
|
||||
function register_importer( $id, $name, $description, $callback ) {
|
||||
|
||||
Reference in New Issue
Block a user