[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 16:13:26 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):
Correction -- it affects post thumbnails and images as well.
So -- steps to reproduce:
Using a multisite installation of Wordpress 3.0.4, the TwentyTen theme and
no plugins enabled (to eliminate any extraneous variables):
1. Drop in Ryan et al's memcached client (object-cache.php)
2. Drop in Batcache (advanced-cache.php)
3. define( "WP_CACHE", true); in wp-config.php and enable memcached.
4. Begin creating new posts in wp-admin. With each new post, upload an
image via the media uploader and try inserting as many sizes as are
available into the post / Featured Image.
For me, even on the first post, what I see is that only some of the image
sizes are served correctly. For example. I see the Full size and Post
Thumb, but not the 150x150. See screenshot1.png. This affects the thumb
in both wp-admin and on the frontend.
If I try loading the failing image directly from its url (eg.
http://flavordev.local.mu/files/2011/02/6413719-150x150.jpg), the image
does not load -- all I get is the url string.
When I disable WP_CACHE and remove object-cache.php and advanced-
cache.php, all images appear as they should. See screenshot2.png.
If I restore object-cache.php and advanced-cache.php and re-enable
WP_CACHE (making sure to clear my browser cache) the 150x150 disappears
again. See screenshot3.png.
If I leave Batcache enabled and institute the change I suggested in the
diff file, everything serves as it should. See screenshot4.png.
Let me know if you need any more information.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16389#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list