• Due to the various problems with the 3.0.x releases of this otherwise really great plugin, here a small code snippet for functions.php to hide updates before a certainly more stable 3.1 release and avoid an accidental install of 3.0.x updates by curious customers on production sites.

    function my_filter_plugin_updates( $value ) {
    	if ( isset( $value->response ) && isset( $value->response['backwpup/backwpup.php'] ) ) {
    		if ( version_compare( $value->response['backwpup/backwpup.php']->new_version, '3.1', '<' ) ) {
    			unset( $value->response['backwpup/backwpup.php'] );
    		}
    	}
    	return $value;
    }
    add_filter( 'site_transient_update_plugins', 'my_filter_plugin_updates' );

    Starting with release of 3.1 the updates will show up again.

    I am sure Daniel will sort out all these problems within near future, thanks for the great plugin.

    http://wordpress.org/extend/plugins/backwpup/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi, this is a great idea 😉 I am sure many will implement your function. I am not updating my production sites until I see all the issues ironed out. I am running the latest version on my test site and it works very well but I have not tested all the features.

    I do agree with you, this is a great plugin and I have been using this plugin for over a year now. What I think Daniel should do next time on a major release or update, is to start with a beta version. Let the community test the beta version before it becomes a stable release version. This would work in his advantage.

    My humble opinion.

    Kind regards

    Anonymous User 7658014

    (@anonymized_7658014)

    @ Ov3rfly +1 for creativity and user power. 😉 3.0.4 seems to run pretty smooth in most environments, though. But it sure is a good idea in general to test a plugin on your server before you use it in a productive environment.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Code snippet for customer sites to wait for 3.1 release’ is closed to new replies.