I didn’t even notice, but the client insisted this tiny flash of unstyled content (FOUC) glitch is irritating. Nu, so I began investigating…
- Site uses an old (ancient) theme: Weaver, aka Twenty Ten Weaver.
- But apparently blame is with a plugin that overrides the theme’s header: Dynamic Headers.
- Plugin hasn’t been updated since 2010-10. Two years!
- Its forum has since been accumulating unanswered questions and complaints.
- This plugin violates quite a few other guidelines… and browsing through the code I can’t help but smell unsanitized inputs — a security vulnerability.
imgdimensions (width/height attributes of HTML element) missing, causing a reflow after image file downloaded. (Reported already.)
- SWF parameters: hardcoded white background color causing a flash (pun unintended) when Flash object renders.
Too much(?) of this plugin’s choices and execution I don’t like.
- Separate DB table instead of built in media? Does it clean up properly?
- Duplicate media upload code?
- Separate directory for uploads, requires manual creation and setting permissions.
- Ugly PHP
- IIRC, WP recently (since 3.4?) has new header mechanisms?
I ended up patching the code to prevent these FOUCs. An ugly five minutes hack following an hour of squirming. This plugin just isn’t worth the effort?