@@ -132,26 +132,41 @@ class Internal_Events extends Singleton {
publicfunctionconfirm_scheduled_posts(){
global$wpdb;
$future_posts=$wpdb->get_results($wpdb->prepare("SELECT ID, post_date FROM {$wpdb->posts} WHERE post_status = 'future' AND post_date > %s LIMIT 25;",current_time('mysql',false)));
$query=$wpdb->prepare("SELECT ID, post_date FROM {$wpdb->posts} WHERE post_status = 'future' AND post_date > %s LIMIT %d,%d",current_time('mysql',false),$offset,$quantity);