Tag Info

New answers tagged

0

Could be directory permission issues. You can update your website manually. Here are the step by step instructions. http://codex.wordpress.org/Upgrading_WordPress_Extended


1

Make sure to have identical keys in both of the arrays. Keys 'first_name', 'last_name' and respective keys 'fname', 'lname' are different. If you can make them identical then first do it, otherwise you will either need to do string manipulation for these keys before using them or put a condition like below in the foreach loop - foreach($user_meta_fields as ...


0

You are using Ubuntu package for WordPress right? Had you tried conventional install (just downloading official WP archive and setting it up with LAMP)? While it's not very "Linux way" maybe, it's commonly suggested to stick with that for WordPress. I briefly dealt with Ubuntu WP package in the past and ended up doing just that as well. PS if that 3.8.2 ...


1

Instead of wp_create_user, use wp_insert_user. So you will be able to set extra variables like nickname, display_name separately than the default value. For your case, you can code like this: $args = array ( 'user_login' => $user_name, 'user_pass' => $random_password, //send as plain text password string 'user_email' => ...


0

But when I update the page it shows the previous values saved in the back-end (admin) section of wordpress. Of course, any values saved in the back end are saved correctly and displayed on the front-end. I wanted to save either way, from back-end and from front-end. Just had this problem myself. Given that the meta was in fact updating but just not ...


0

This should go near the top of your PHP script on the page to listen for the submitted data. <?php if (isset($_POST['user_adresse'])) { $userID = get_current_user_id(); $userADRESSE = $_POST['user_adresse']; update_user_meta($userID , 'user_adresse' , $userADRESSE ); #'user_adresse' should be the name of the meta key } ?> and the form ...


0

It's is good idea to run similar DB updates per site basis. You can store plugins version in wp_options (which are options for current site), then on admin_init compare version and run upgrade. If you want to run more complicated/big updates, I would recommend creating custom upgrade page for plugin and only display admin notice for users, so they can run ...



Top 50 recent answers are included