Permalink
Browse files

Make sure the filters are applied to 'hybrid_context', even if it's a…

…lready been set.
  • Loading branch information...
1 parent a013f61 commit 0e6962f8b309e0c32c79c149b1bd44b229903a2a @justintadlock committed Jan 19, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 functions/context.php
View
2 functions/context.php
@@ -34,7 +34,7 @@ function hybrid_get_context() {
/* If $hybrid->context has been set, don't run through the conditionals again. Just return the variable. */
if ( isset( $hybrid->context ) )
- return $hybrid->context;
+ return apply_filters( 'hybrid_context', $hybrid->context )
/* Set some variables for use within the function. */
$hybrid->context = array();

0 comments on commit 0e6962f

Please sign in to comment.