Skip to:
Content

BuddyPress.org

Ticket #2999: 2999.patch

File 2999.patch, 521 bytes (added by DJPaul, 15 years ago)
  • bp-core/admin/bp-core-upgrade.php

     
    8484        function add_steps() {
    8585                global $wp_rewrite;
    8686
     87                if ( empty( $_POST['bp-admin-form'] ) && !empty( $_COOKIE['bp-wizard-step'] ) )
     88                        @setcookie( 'bp-wizard-step', '', time() - 3600, COOKIEPATH );
     89
    8790                if ( 'new' == $this->setup_type ) {
    8891                        // Setup wizard steps
    8992                        $steps = array(