wordpress-fieldmanager
wordpress-fieldmanager copied to clipboard
Update code to use strict comparisons
There are many places where loose comparisons (==
or !=
) are performed which should get updated to strict comparisons. However, care must be taken to ensure that existing implementations don't break if they were using otherwise valid values of the wrong type, e.g. 'limit' => '1'
. When relevant properties get set, like $limit
, their types should be enforced.