Custom fields and auto save

You need to check to see whether the $_POST data contains your custom field information before saving it: if (!empty($_POST[“intro”])) { update_post_meta($post->ID, “intro”, $_POST[“intro”]); } Also, WordPress will pass the post ID and post object into your callback if you ask it too. function save_intro($ID, $post){ //preserve the data in the admin section // … … Read more

WordPress Auto Updates

Have you tried using the WordPress admin panel to configure your auto-updates? You may have better luck there. It should be found under your “Dashboard > Updates”. If you do not see it there, there is also the option of a plugin to help manage it for you: Automatic Updater for WordPress

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)