[wp-hackers] Actions dependent on locale cannot be loaded in a plugin

Aaron Harun admin at anthologyoi.com
Wed Apr 2 01:04:18 GMT 2008


>Try adding your actions on the init hook, I think that runs after
>the translatable stuff has been loaded and setup.

Correct.

Everything related to languages should be done at init or later, so
that everything is loaded and any plugins that modify the content are
loaded.

Aaron


More information about the wp-hackers mailing list