Skip to content

wp_die return type is wrong #248

Closed
@kkmuffme

Description

@kkmuffme

https://github.com/php-stubs/wordpress-stubs/blame/v6.6.2/functionMap.php#L56

  • has 1 ) too much at the end
  • array{exit: false} is wrong, since the array can have other keys in it too, e.g. code and the correct type would be array{exit: false}&array

https://developer.wordpress.org/reference/functions/wp_die/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions