Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added some features that I wanted for my app. #27

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

gitSambhal
Copy link

I want to share it with you. Kindly have a look.

Added return new WP_REST_Response to return
Instead of returning reply id returning complete reply object after post
- /bbp-api/subscribe/forum
- /bbp-api/unsubscribe/forum
- /bbp-api/subscribe/topic
- /bbp-api/unsubscribe/topic
Params:
user_id,topic_id,forum_id
@renatonascalves
Copy link

renatonascalves commented Jul 21, 2017

This is nice. But why all the spaces between lines? @ePascalC maybe it is time to introduce a .editorconfig file.

@gitSambhal
Copy link
Author

I got the same spaces when I downloaded the files.

@ePascalC
Copy link
Owner

Hi,
The features I like and I will (more or less) import them. However, I see a /subscriptions/topics and not a /topic/subscribe, because the /subscriptions will show all subscriptions of the logged in user (so forums, topics, etc)
Thanks a lot for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants