Skip to content

Instantly share code, notes, and snippets.

@JustinSainton
Created November 12, 2012 22:31
Show Gist options
  • Save JustinSainton/4062453 to your computer and use it in GitHub Desktop.
Save JustinSainton/4062453 to your computer and use it in GitHub Desktop.
Potential ?s issue in wpsc_start_the_query()
<?php
function remove_start_the_query() {
remove_action( 'template_redirect', 'wpsc_start_the_query', 8 );
}
add_action( 'template_redirect', 'remove_start_the_query' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment