Skip to content

Change url param 'from' type to string #216

Description

@spelkey-ucd

rest_sanitize_value_from_schema (since 5.5.0; The "type" schema keyword for from can only be one of the built-in types: array, object, string, number, integer, boolean, and null.)

should be string, like the to param

https://github.com/UCDavisLibrary/ucdlib-wp-plugins/blob/main/ucdlib-locations/includes/api.php#L55

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