WordPress 3.3 auto update not working

If you are having problems with the auto upgrade, just download a fresh copy and drag + drop the folders in your FTP client, make sure you select to “merge” so you don’t overwrite your wp-config.php or wp-content folder (in fact take backups!). Then as soon as you go to the wp-admin WP will prompt … Read more

Auto generate custom post title

Something like this should do the trick using JS to set the title on initial load of a new post. You will not need to differentiate between publish/draft etc. and you can let WordPress sanitize. function set_post_title( $post ) { global $current_user; if( get_post_type() != ‘interviews’ || $post->post_status != ‘auto-draft’ ) return; $uniqueid_length = 8; … Read more

Adding a banner to the install dialogue of a custom plugin

Since no one was able to answer my question, I will do so myself since I found the answer this morning. When executing the API call for fetching plugin information, the response object must contain a banners array: $response->banners = [ ‘low’ => ‘http://yourdomain.com/banner_772x250.png’, ‘high’ => ‘http://yourdomain.com/banner_1544x500.png’, ]; Images need to be called “low” (exactly … Read more

How to turn off automatic updates of the WordPress core

In wp-config.php add // Disable all wordpress auto updates. define(‘AUTOMATIC_UPDATER_DISABLED’, true); define(‘WP_AUTO_UPDATE_CORE’, false); In functions.php add // Disable auto plugin updates add_filter(‘auto_update_plugin’, ‘__return_false’); // Disable auto theme updates add_filter(‘auto_update_theme’, ‘__return_false’);