This improves performance for sites with persistent cache backend having a lot of pages requested via the `get_pages() function, by taking advantage of `wp_cache_get_multiple()` instead of fetching each individual page from the backend cache server one by one. It also matches the behaviour of `get_pages()` when the pages are retrieved from the database. Props david.binda, hellofromTonya. Fixes #51469. Built from https://develop.svn.wordpress.org/trunk@51018 git-svn-id: http://core.svn.wordpress.org/trunk@50627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
258 KiB
258 KiB