From 14b5aa055302f18d239eb51dcf074e8340145ff8 Mon Sep 17 00:00:00 2001 From: Erick Hitter <ehitter@gmail.com> Date: Sun, 25 Aug 2013 11:43:11 -0400 Subject: [PATCH] When a property isn't set or isn't available, it's better to say it's `null` than `false`. --- tag-dropdown-widget.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tag-dropdown-widget.php b/tag-dropdown-widget.php index 72b0286..d037c1d 100644 --- a/tag-dropdown-widget.php +++ b/tag-dropdown-widget.php @@ -85,7 +85,7 @@ class taxonomy_dropdown_widget_plugin { if ( 'option_defaults' == $var ) return $this->option_defaults; - return false; + return null; } /** -- GitLab