wordpress-fieldmanager icon indicating copy to clipboard operation
wordpress-fieldmanager copied to clipboard

Update code to use strict comparisons

Open mboynes opened this issue 6 years ago • 0 comments

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.

mboynes avatar Oct 07 '17 20:10 mboynes