Skip to content
This repository was archived by the owner on Sep 24, 2018. It is now read-only.
This repository was archived by the owner on Sep 24, 2018. It is now read-only.

rest_validate_request_arg() should validate type=array #2194

@danielbachhuber

Description

@danielbachhuber

Just like we have type checks for string and integer, we should also have a type check for array.

However, when we do this, we'll need to address instances where we've typed the param to array, but also accept a CSV of ids.

Lastly, the type checks in this function should happen before any other checks.

From 470e59a

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions