[wp-trac] [WordPress Trac] #26321: Warning message for update_post_thumbnail_cache()

WordPress Trac noreply at wordpress.org
Wed Mar 26 18:37:49 UTC 2014


#26321: Warning message for update_post_thumbnail_cache()
-------------------------------------------------+-------------------------
 Reporter:  klihelp                              |       Owner:
     Type:  defect (bug)                         |  wonderboymusic
 Priority:  normal                               |      Status:  reopened
Component:  Cache API                            |   Milestone:  3.9
 Severity:  normal                               |     Version:  3.8
 Keywords:  3.9-early needs-unit-tests           |  Resolution:
  reporter-feedback has-patch                    |     Focuses:
-------------------------------------------------+-------------------------

Comment (by nacin):

 Given WooCommerce is pegged as the culprit here, I'd like to revert
 [27166] (and [21783]). This is appears to be a legitimate warning caused
 by $posts being improperly set. If you're going to mess with WP_Query's
 internals, don't set $post without setting $posts.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26321#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list