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

WordPress Trac noreply at wordpress.org
Wed Mar 26 18:44:36 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:
 Severity:  normal                               |     Version:  3.8
 Keywords:  3.9-early needs-unit-tests           |  Resolution:  invalid
  reporter-feedback has-patch                    |     Focuses:
-------------------------------------------------+-------------------------
Changes (by nacin):

 * resolution:  fixed => invalid
 * milestone:  3.9 =>


Comment:

 Some might ask why this was reverted. Basically, it's a maintenance burden
 we don't want. If we're going to account for $post being set and $posts
 missing in this one instance, we'll need to consciously deal with it
 elsewhere, too. That quickly becomes a slippery slope and it's too much of
 a burden to deal with code that does it wrong.

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


More information about the wp-trac mailing list