This changeset moves typecasting to affect the `get_option` value, which ensures that when math is done it does not generate any error. In PHP 7.4 and earlier the previous implementation was dismissed as a warning, but in PHP 8+ it would have throw a fatal error. Follow-up to [45856]. Props Nick_theGeek, SergeyBiryukov, johnbillion. Fixes #57035. Built from https://develop.svn.wordpress.org/trunk@55054 git-svn-id: http://core.svn.wordpress.org/trunk@54587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
254 KiB
254 KiB