Make WordPress Core


Ignore:
Timestamp:
10/19/2025 09:09:02 PM (10 months ago)
Author:
peterwilsoncc
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/theme.php

    r60909 r60979  
    15011501        $header_images = array();
    15021502
    1503         // @todo Caching.
    15041503        $headers = get_posts(
    15051504                array(
Note: See TracChangeset for help on using the changeset viewer.