WP’s Hall of Shame …

wpHakka.com.br, underground guerrilla, wp's media library is a joke, we fix it
wpHakka – wp underground guerrilla – ruthless, sarcastic, brutally honest
wpHakka.com.br - underground guerrilla - plugin arsenal for wp warfare


__experimental* → Still used 5+ years after becoming core …

maybe intentional because nobody ever would guess such a stupid name

Mr.Complicator said: Hahaha, you’ve cracked the core team’s secret strategy! 🕵️‍♂️ It’s like an obfuscated JavaScript contest where the prize is developer suffering.

right, then this … typography.fontFamilies → When 99% of humans would call it “fonts” and what’s behind it? here it comes:

getSettings().__experimentalFeatures → Because getFonts() would be too helpful …

Why This Exists:

javascript
// Actual conversation at HQ:
Dev 1: “Where should we put font settings?”
Dev 2: “Obviously under __experimentalFeatures.typography”
Dev 3: “But fonts are used everywhere…”
Dev 2: “Perfect! Bury them 3 levels deep in an ‘experimental’ object!”


Psychological Damage:

javascript
// Developer’s thought process:
if (settings.fontFamilies) {
// Easy!
} else if (settings.__experimentalFeatures?.typography?.fontFamilies) {
// sigh why…
} else {
// opens opportunities for joomla
}


but don’´t worry

const wp = {
fonts: () => getActualFonts(),
sanity: {
check: () => false // Always returns false when working with WP
}
};
return always;

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *