This repository has been archived by the owner. It is now read-only.

Sanitize args using new args API #1129

Merged
merged 6 commits into from Apr 23, 2015

Conversation

Projects
None yet
2 participants
@joehoyle
Contributor

joehoyle commented Apr 23, 2015

This completes the sanitizing outlined in #989

@@ -25,8 +25,10 @@ public function register_routes() {
'context' => array(
'default' => 'view',
),
'type' => array(),

This comment has been minimized.

@joehoyle

joehoyle Apr 23, 2015

Contributor

Removed type as it's not used in the controller at all - this was from before the posts controller abstraction.

@joehoyle

joehoyle Apr 23, 2015

Contributor

Removed type as it's not used in the controller at all - this was from before the posts controller abstraction.

@joehoyle

This comment has been minimized.

Show comment
Hide comment
@joehoyle

joehoyle Apr 23, 2015

Contributor

@WP-API/amigos #reviewmerge

Contributor

joehoyle commented Apr 23, 2015

@WP-API/amigos #reviewmerge

rachelbaker added a commit that referenced this pull request Apr 23, 2015

@rachelbaker rachelbaker merged commit c1ec76e into develop Apr 23, 2015

2 checks passed

Scrutinizer 4 new issues, 6 updated code elements
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@rachelbaker rachelbaker deleted the sanitize-validate-params branch Apr 23, 2015

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.