Created
September 16, 2013 19:55
-
-
Save jazbek/6585714 to your computer and use it in GitHub Desktop.
Fix for hosts with low join limit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_action('init', 'tribe_allow_large_joins'); | |
function tribe_allow_large_joins(){ | |
global $wpdb; | |
$wpdb->query('SET SQL_BIG_SELECTS=1'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment