This brings more consistency with similar checks elsewhere in core. Follow-up to [39350]. Props dilipbheda, mukesh27. Fixes #63363. Built from https://develop.svn.wordpress.org/trunk@60215 git-svn-id: http://core.svn.wordpress.org/trunk@59551 1a063a9b-81f0-0310-95a4-ce76da25c4cd