mirror of
git://develop.git.wordpress.org/
synced 2025-04-04 04:02:36 +02:00
Cache result of database queries in `_find_post_by_old_slug` and `_find_post_by_old_date` functions. This means that repeated requests to a url where the page is not found, will result in hitting a cache for sites running persistent object caching. Props Spacedmonkey, dd32, mukesh27, pbearne, flixos90. Fixes #36723. git-svn-id: https://develop.svn.wordpress.org/trunk@53549 602fd350-edb4-49c9-b593-d223f7449a82