We plan on getting the ONE line of language translated. There is code if someone stumbles upon the customizer.php URL that says it’s been disabled.
Does that answer your question or am I missing the boat?
From my little boat 😉 after tests…
I agree about the only line of message but not on 13 lines to do the same thing as these 3 lines if you don’t need vars or specific filters:
public function load_languages() {
load_plugin_textdomain( 'wp-crap', false, 'customizer-remove-all-parts/languages' );
}
load_plugin_textdomain function will also tests presence of translation files in WP_LANG_DIR if not in plugin’s language sub-folder !
Cheers
It was code copied from an existing project to save time. It’s a more expanded way of doing the same thing, but the end result is the same. It shouldn’t impact the result to change it.
We wrote this during lunch breaks so I pulled from existing code to save time. If it’s a performance gain to change it, that I’m in favor of doing. Any idea if that’s the case?
Oh, I think it posted that comment twice. Sorry about that if it did.
We really appreciate you looking at this. We consulted others and the consensus is that our code is as good or better because we have filters.
It’s also very similar to EDD. Ours: http://ow.ly/P7gvQ EDD: http://ow.ly/P7gFY
I’ll mark this topic closed now.