utf8mb4 and mu-plugins
-
hi, i have some issue with utf8mb4. Plugin also have some trouble in location mu-plugins. Thanks
this code is bad ->
if(!defined('WP_PLUGIN_DIR')){ define('WP_PLUGIN_DIR', ABSPATH . 'wp-content/plugins'); } $activatestr = str_replace(WP_PLUGIN_DIR . "/", "activate_", __FILE__); add_action($activatestr, 'loginLockdown_install');
i think that should be ->
register_activation_hook( __FILE__, 'loginLockdown_install' );
thanks
- The topic ‘utf8mb4 and mu-plugins’ is closed to new replies.