What mechanism does WordPress use to keep constants from being redefined?
I recently posted a comment on a general tech group about this line of code:
define('WP_POST_REVISIONS', true);
Someone replied, "If the original coders don't know that you can't redefine a constant than why would you even trust any of their other code?"
That made me wonder, what mechanism in WordPress keeps themes/plugins/etc from redefining constants? I'm guessing that it has to do with the order in which code loads.