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

WP_JSON_Users new_user method should be renamed to create_user #376

Merged
merged 4 commits into from Jul 27, 2014

Conversation

Projects
None yet
2 participants
@rachelbaker
Member

rachelbaker commented Jul 27, 2014

  • rename method
  • include stub method
  • update tests

rachelbaker added some commits Jul 27, 2014

Rename new_user method to create_user to match CRUD actions.
Replaced new_user method name with create_user.
Added stub method with deprecated notice for new_user.
Show outdated Hide outdated lib/class-wp-json-users.php Outdated
Show outdated Hide outdated tests/test-json-users.php Outdated

@rmccue rmccue added this to the 1.2 milestone Jul 27, 2014

rmccue added a commit that referenced this pull request Jul 27, 2014

Merge pull request #376 from WP-API/issue-376
Rename WP_JSON_Users::new_user to create_user

@rmccue rmccue merged commit 8a035d2 into master Jul 27, 2014

1 check passed

continuous-integration/travis-ci The Travis CI build passed
Details

@rmccue rmccue deleted the issue-376 branch Jul 27, 2014

kellbot pushed a commit to kellbot/WP-API that referenced this pull request Aug 1, 2014

Merge pull request WP-API#376 from WP-API/issue-376
Rename WP_JSON_Users::new_user to create_user

Japh pushed a commit to Japh/WP-API that referenced this pull request Sep 29, 2014

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