Can’t Auto-Update, but permissions are good?

If you’re pretty sure about that the file owner of wordpress folder is as same as that one who runs apache. (use ps aux|grep ‘httpd’ or ps aux|grep ‘apache’) Here is a lousy solution for you: function force_use_direct_fs($method,$args){ if($method != ‘direct’) $method = ‘direct’; return $method; } add_filter(‘filesystem_method’,’force_use_direct_fs’,10,2); Why Would WordPress Request FTP Credentials wp-admin/includes/file.php … Read more

How Do I Configure Automatic Updates in WordPress 3.7?

Automatic updates are automatic. The basic, default behavior in WordPress 3.7 is automatic update of core for minor versions (i.e. X.Y.Z to X.Y.Z+1.) No configuration options are exposed in the UI. To change the behavior, you’ll need to modify your wp-config.php file, or add some filters: Easy Disabling Add the following to wp_config.php: define( ‘AUTOMATIC_UPDATER_DISABLED’, … Read more

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