Unused arguments

* `WP_JSON_Posts` and `WP_JSON_Meta_Posts`’s constructors don’t take
arguments
* Don’t set variables that aren’t used (tests too)
* Don’t create conditional returns for functions that return boolean