[wp-trac] [WordPress Trac] #26321: Warning message for update_post_thumbnail_cache()
WordPress Trac
noreply at wordpress.org
Wed Feb 12 04:48:15 UTC 2014
#26321: Warning message for update_post_thumbnail_cache()
-------------------------------------------------+-------------------------
Reporter: klihelp | Owner:
Type: defect (bug) | wonderboymusic
Priority: normal | Status: closed
Component: Cache API | Milestone: 3.9
Severity: normal | Version: 3.8
Keywords: 3.9-early needs-unit-tests | Resolution: fixed
reporter-feedback has-patch | Focuses:
-------------------------------------------------+-------------------------
Changes (by wonderboymusic):
* owner: => wonderboymusic
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"27166"]:
{{{
#!CommitTicketReference repository="" revision="27166"
Don't iterate over `$wp_query->posts` in `update_post_thumbnail_cache()`
if it is empty. Adds unit tests.
Props SergeyBiryukov, for the original patch.
Fixes #26321.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26321#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list