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

Conversation

@danielbachhuber
Copy link
Member

The value is still set if &filter is passed, but array_merge() will
error if $request['filter'] isn't an array.

From #1733

The value is still set if `&filter` is passed, but `array_merge()` will
error if `$request['filter']` isn't an array.
@danielbachhuber danielbachhuber added this to the 2.0 Beta 7 milestone Nov 13, 2015
@danielbachhuber
Copy link
Member Author

@WP-API/amigos #reviewmerge

danielbachhuber added a commit that referenced this pull request Nov 17, 2015
Only process `filter` when it's an array
@danielbachhuber danielbachhuber merged commit 8001a73 into develop Nov 17, 2015
@danielbachhuber danielbachhuber deleted the 1733-filter-array branch November 17, 2015 13:49
@danielbachhuber danielbachhuber modified the milestones: 2.0 Beta 8, 2.0 Beta 6.1 Nov 18, 2015
@danielbachhuber danielbachhuber changed the title Only process filter when it's an array Prevent PHP error notice when filter isn't an array Nov 18, 2015
@danielbachhuber danielbachhuber changed the title Prevent PHP error notice when filter isn't an array Prevent PHP error notice when &filter isn't an array Nov 18, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants