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

WordPress Trac noreply at wordpress.org
Wed Feb 12 19:49:59 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:
-------------------------------------------------+-------------------------
Changes (by bpetty):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 This unit test assertion consistently fails:

 {{{
 $this->assertFalse( $GLOBALS['wp_query']->thumbnails_cached );
 }}}

 See unit test results:

 {{{
 1) Tests_Post_Thumbnails::test_update_post_thumbnail_cache
 Failed asserting that true is false.

 /home/bryan/Projects/wp-
 vagrant/wordpress/tests/phpunit/tests/post/thumbnails.php:13
 }}}

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


More information about the wp-trac mailing list