Opened 15 years ago
Closed 15 years ago
#19726 closed enhancement (fixed)
Don't update the post_thumbnail_cache if the thumbnail is already cached
| Reported by: | prettyboymp | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.4 |
| Component: | Performance | Version: | 3.3 |
| Severity: | normal | Keywords: | has-patch needs-testing |
| Cc: | Focuses: |
Description
There is no reason to run the query in update_post_thumbnail_cache() if all of the thumbnail posts are already cached. Before adding a post_id to the thumb_ids array, cache should be checked.
Attachments (1)
Change History (5)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Nice.