[wp-trac] [WordPress Trac] #16389: register_shutdown_function isn't run in SHORTINIT mode

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 28 11:52:15 UTC 2011


#16389: register_shutdown_function isn't run in SHORTINIT mode
-----------------------------------------+------------------------------
 Reporter:  jtclarke                     |       Owner:
     Type:  defect (bug)                 |      Status:  new
 Priority:  normal                       |   Milestone:  Awaiting Review
Component:  Multisite                    |     Version:  3.0.4
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch reporter-feedback  |
-----------------------------------------+------------------------------
Changes (by westi):

 * keywords:  has-patch => has-patch reporter-feedback


Comment:

 Replying to [comment:8 nacin]:
 > Sounds like this is for an object cache needing to leverage the
 wp_cache_close() call in the shutdown handler. Given the OP stating the
 Memcached plugin in use, and that the MU changeset gives props to Ryan,
 and that the Memcached plugin uses wp_cache_close()... I'm removing
 reporter-feedback. :)
 >
 > Given this was something missing in the merge, and moving this has
 basically no ill side effects, this looks good.

 Yes but from a quick glance I don't see anything causing cache writes in
 ms-files.php

 This has been gone for a long time so while it is probably prudent to move
 it to the place it was in mu - we should know why!

 There was no explanation as to what needed this to move.

 Hence the request for more info from the reporter.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16389#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list