mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
has_action and has_filter. see #5231
git-svn-id: https://develop.svn.wordpress.org/trunk@6320 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -238,8 +238,7 @@ class WP {
|
||||
}
|
||||
|
||||
// query_string filter deprecated. Use request filter instead.
|
||||
global $wp_filter;
|
||||
if ( isset($wp_filter['query_string']) ) { // Don't bother filtering and parsing if no plugins are hooked in.
|
||||
if ( has_filter('query_string') ) { // Don't bother filtering and parsing if no plugins are hooked in.
|
||||
$this->query_string = apply_filters('query_string', $this->query_string);
|
||||
parse_str($this->query_string, $this->query_vars);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user