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

WordPress Trac wp-trac at lists.automattic.com
Thu Feb 3 15:18:50 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  |
-----------------------------------------+------------------------------

Comment (by jtclarke):

 Hey -- sorry I somehow wasn't getting requests for feedback.

 The way I saw this was that on the sites I manage (MU with Batcache /
 Memcache), some (but not all) of the images were not being served
 correctly when Batcache was enabled and memcached was turned on.  For
 example, I would see all of my post thumbs, but not the site logos (site
 logos being extensions of the theme).  All files are uploaded via the
 uploader and served via ms-files.php.

 I too am surprised nobody has encountered this before.  Technically, the
 only way you would see problems is using 3.0 multisite (which uses ms-
 files.php and SHORTINIT) with Batcache/Memcache  -- but I can't imagine
 we're the only ones doing that.

 I still wish I had more concrete steps to reproduce -- It's unclear why it
 would affect some files and not all.  But I know that the problem was
 fixed if I turned off SHORTINIT -- which led me to dig deeper into the MU
 code and the placement of register_shutdown_function.

 Let me see if I can track down what, if anything, is unique about the
 files that weren't serving correctly.

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


More information about the wp-trac mailing list