Skip to content

Commit f743f69

Browse files
committed
Themes: Remove caching todo from get_uploaded_header_images().
Remove the note to introduce caching to `get_uploaded_header_images()` as caching has since been introduced to `WP_Query` and therefore `get_posts()`. The comment is out of date. Props audrasjb, desrosj, flixos90, mukesh27, pbearne, pbiron, sachinrajcp123, sergeybiryukov, swissspidy, westonruter, whyisjake. See #49446, #63168. git-svn-id: https://develop.svn.wordpress.org/trunk@60979 602fd350-edb4-49c9-b593-d223f7449a82
1 parent c665fab commit f743f69

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/wp-includes/theme.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1500,7 +1500,6 @@ function header_image() {
15001500
function get_uploaded_header_images() {
15011501
$header_images = array();
15021502

1503-
// @todo Caching.
15041503
$headers = get_posts(
15051504
array(
15061505
'post_type' => 'attachment',

0 commit comments

Comments
 (0)