More yoda conditions
This commit is contained in:
1 parent
d9122a410d
commit
0a4c81c105
97 files changed
+323
-289
No files matched your search
@@ -93,7 +93,7 @@ trait WP_Ultimo_Plan_Deprecated {
|
||||
*/
|
||||
public function is_featured_plan() {
|
||||
|
||||
if ($this->featured_plan === null) {
|
||||
if (null === $this->featured_plan) {
|
||||
$this->featured_plan = $this->get_meta('featured_plan', false);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user