mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-24 15:45:29 +00:00
This addresses an issue where a string (`$current`) is compared to an integer (`$last_saved`). The issue is resolved by casting the results of `preg_replace()` to type `int` when `$current` is defined. Follow-up to [8784], [10083], [25109]. Props justlevine. See #52217. Built from https://develop.svn.wordpress.org/trunk@59373 git-svn-id: http://core.svn.wordpress.org/trunk@58759 1a063a9b-81f0-0310-95a4-ce76da25c4cd