Skip to content

Commit

Permalink
Add buffer function. Fixes #55.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenharris committed Mar 1, 2013
1 parent 6645862 commit 673cd21
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion includes/event-organiser-archives.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,10 @@ function eventorganiser_pre_get_posts( $query ) {
add_filter('posts_orderby','eventorganiser_sort_events',10,2);
add_filter('posts_groupby', 'eventorganiser_event_groupby',10,2);
}
add_action( 'pre_get_posts', 'eventorganiser_pre_get_posts' );
add_action( 'pre_get_posts', 'eventorganiser_pre_get_posts', 11 );

//Workaround for https://github.com/stephenharris/Event-Organiser/issues/55,
add_action( 'pre_get_posts', '__return_false', 10 );


/**
Expand Down

0 comments on commit 673cd21

Please sign in to comment.