New answers tagged

0

as per the answer given by Tim Malone, I have this working code: /* Activate Hook Plugin */ register_activation_hook(__FILE__, 'ulh_add_user_logins_table'); /* call when plugin is activated */ function ulh_add_user_logins_table() { global $wpdb; $charset_collate = $wpdb->get_charset_collate(); ...


1

register_activation_hook() only attaches a function to run on activation of your plugin, not on updating. See the docs for full details, particularly this part: 3.1 : This hook is now fired only when the user activates the plugin and not when an automatic plugin update occurs (#14915). Of course, you could force your hook to run by deactivating and ...


2

If you have access to your files via ftp, you should be able to upgrade WordPress manually. According to WordPress.org, you can do so by swapping out a few folders and files: Step 1: Replace WordPress files Get the latest WordPress zip (or tar.gz) file. Unpack the zip file that you downloaded. Deactivate plugins. Delete the old wp-includes ...



Top 50 recent answers are included