Remove “Time to upgrade” message from dashboard

How to hide WordPress update mesages CSS The low-tech way to hide something is using css: // Low-tech hiding of update-mesages // source: http://wpsnipp.com/index.php/functions-php/hide-update-nag-within-the-admin/ function remove_upgrade_nag() { echo ‘<style type=”text/css”> .update-nag {display: none} </style>’; } add_action(‘admin_head’, ‘remove_upgrade_nag’); This more-or-less works, but it is a lot of work to find al the places WordPress shows messages. … Read more

Removing the “Your backup folder MIGHT be visible to the public” Message Generated by the WP-DBManager Plugin

gear-solid**: Looking in the Source Code… Here’s the function from WP-DBManager Plugin that generates that error: function dbmanager_admin_notices() { $backup_options = get_option(‘dbmanager_options’); if(!@file_exists($backup_options[‘path’].’/.htaccess’)) { echo ‘<div class=”error” style=”text-align: center;”><p style=”color: red; font-size: 14px; font-weight: bold;”>’.__(‘Your backup folder MIGHT be visible to the public’, ‘wp-postratings’).'</p><p>’.sprintf(__(‘To correct this issue, move the <strong>.htaccess</strong> file from <strong>wp-content/plugins/wp-dbmanager</strong> to <strong>%s</strong>’, … Read more

Can’t install new plugins because of the error “Could not create directory”

@pwnguin, I had the same problems running mod_php with WordPress and I finally figured it out. # chown www-data:www-data /home/CIM140/public_html/wordpress/ -R As long as YOU control the box this won’t cause any security issues. EDIT: You might also need to change your umask to 022 so new directories created by WordPress will have 755 permissions … Read more

Does the event ‘wp_version_check’ even exist? What is it doing?

The function checks your version of WP for possible updates. It appears that there is a transient in the database named ‘update_core’, so it’s stored in the $wpdb->options table as ‘_site_transient_update_core’. The value of that transient is a serialized object that has information, I’m not an expert on wp_version_check, but it uses that transient to … Read more

Prevent/Disable Automatic Update Check

How to disable core auto updates but enable plugins and themes auto updates If you want to stop the autoupdates of the WordPress core, but to enable them for your Plugins and/or Themes, you can add these lines in the wp-config.php file: Stop the core auto updates: define( ‘WP_AUTO_UPDATE_CORE’, false ); Then Enable the plugins/themes: … Read more

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