Closed AramZS closed 7 years ago
I'll probably move this into a separate class, to make sure all the hooks are registered through the Loader. Also note that $this
in the closure context is invalid in PHP5.3. You've used that a couple times in PF, so if you're trying to ensure 5.3 compat, you need to avoid that usage.
load_plugin_textdomain
is dependent on functionwp_get_current_user
. That function is no longer in place early enough for when Jaxion is called at (theoretically)plugins_loaded
action hook. Instead it likely best lives in the related action hookload_textdomain
.Fix in place at https://github.com/PressForward/pressforward/issues/864 is to wrap it in an add_action step, though this may not be optimal.