Permalink
Browse files

Don't restrict the $user_filters to what we allow on the URL.

If the code says use a filter, darn well use that filter.  Who cares if it's valid?  AMIRIGHT?
  • Loading branch information...
1 parent 59c435f commit b3a06f077797ab2bb71d856f4adb52adcd03940c @ringmaster ringmaster committed Jul 19, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 classes/theme.php
View
1 classes/theme.php
@@ -213,7 +213,6 @@ public function act_display( $paramarray = array( 'user_filters'=> array() ) )
if ( !isset( $posts ) ) {
$user_filters = Plugins::filter( 'template_user_filters', $user_filters );
- $user_filters = array_intersect_key( $user_filters, array_flip( $this->valid_filters ) );
// Work around the tags parameters to Posts::get() being subsumed by the vocabulary parameter
if( isset( $user_filters['not:tag'] ) ) {

0 comments on commit b3a06f0

Please sign in to comment.