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.

GET multiple pages by id #1587

@danielpina

Description

@danielpina

Trying to retrieve multiple authors works fine (author=2,6,17,38) as the string is exploded and fits into the query

 [author__in] => Array
                (
                    [0] => 2
                    [1] => 6
                    [2] => 17
                    [3] => 38
                )

or

wp_posts.post_author IN (2,6,17,38)

but trying to retrieve multiple pages does not work. The string is not exploded. I tried

page_id=14,12
p=14,12
post__in=14,12

Is there anything I'm missing?

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