Unverified Commit 0c9c1e4c authored by Joel Lisenby's avatar Joel Lisenby Committed by GitHub
Browse files

Fix is_exclusive() behavior

parent b617006b
......@@ -750,7 +750,7 @@ class WP_User_Taxonomy {
* @return bool
*/
public function is_exclusive() {
return ( true === $this->args['exclusive'] );
return ( isset( $this->args['exclusive'] ) && $this->args['exclusive'] === true ? true : false );
}
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment