You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the code we have hinted this argument as string ...$arguments, which is correct. @distantnative I think the reference converts this syntax to string $arguments = null, which seems like a bug to me.
Regarding the note about drafts: You are right, I have fixed it in the code: getkirby/kirby#3791
https://getkirby.com/docs/reference/objects/cms/site/find states that
->find()
expects a string, but this also works with an array of page IDs (e.g. thepages()
helper does that).As an additional note: the reference does not indicate that
->find()
only finds published pages (listed/unlisted) but not drafts.The text was updated successfully, but these errors were encountered: