-
Notifications
You must be signed in to change notification settings - Fork 261
initial draft of adding buddypress support #454
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
base: master
Are you sure you want to change the base?
Conversation
sed -i "s/yourpasswordhere/$DB_PASS/" wp-tests-config.php | ||
|
||
# create database | ||
mysqladmin create $DB_NAME --user="$DB_USER" --password="$DB_PASS" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P2P already has a bin/install-wp-tests.sh
file, so this file is a duplicate and should be removed.
After only a quick look, the code looks alright. I will do some actual testing when you say it's ready. Due to #449, in order to be able to merge this, you will have to submit all the files from the |
You need to install the Composer dependencies. See the updated CONTRIBUTING.md. |
I will be able to issue a complete pull request against the other repository once i have resolved the final issue which is how to modify the do_query, capture_query and get_list functions. As WP_Query and WP_User_Query can't be used is it possible to convert these function to use $wpdb? It doesn't seem like $wpdb->get_results() is available ($wpdb is null, i have use global) within these functions. |
If BuddyPress doesn't have an equivalent class, like BP_Group_Query, then yeah, using
That's not possible, since WordPress can't load plugins without having first set up |
If there is no BP_Group_Query class to hook into, you will still be able to use |
It looks like BP_Group_Query and BP_User_Query will be available in Buddypress 2.2. |
…into buddypress-groups Updated dropdown-bpgroup and field-title-bpgroup
I have update the pull request to support changes in #449. |
Cool, but if you look at the changed files you'll see that there are 4 that need to be deleted from this PR:
|
I have updated the pull request following your comments. |
BuddyPress support is a great addition! |
removed redundant file. fixed action names.
Any news for this? |
i have created the required files to support buddpress groups. I think the only thing remaining that i would need some pointers with is the converting the the posts 2 posts query arguments to one supported by BP_Groups_Group::get()