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

Update class-bp-blogs-blog.php #272

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lenasterg
Copy link

This patch:

  • Uses one less LEFT JOIN when we don't use any search terms for blogs.
  • Blogs which don't have a description in wp_bp_user_blogs_blogmeta it will also be included in the results.

Trac ticket: https://buddypress.trac.wordpress.org/ticket/9136


This Pull Request is for code review only. Please keep all other discussion in the BuddyPress Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the WordPress Core Handbook for more details.

This patch:
- Fix for using one less left join when we don't use any search criteria for blogs. 
- It includes in the results also blogs which don't have a description
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant