Plugin Directory

Changeset 494375


Ignore:
Timestamp:
01/24/2012 12:59:13 AM (14 years ago)
Author:
merty
Message:
 
Location:
wordpress-move/tags/1.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wordpress-move/tags/1.3/readme.txt

    r494337 r494375  
    6464* A database backup converter is integrated to convert WordPress-Move-only database backup files to generic SQL files.
    6565* Backup files to use for restoration can now be selected right on the Restore page.
     66* Messages are now displayed in real-time on migration and restoration pages.
    6667* Empty HTML files are added to backup directories to prevent them being listed by people trying to access the directory via their browsers.
    6768
  • wordpress-move/tags/1.3/wordpress-move.php

    r494337 r494375  
    10171017
    10181018                printf( __( 'Connecting to %s:%d...', 'WPMove' ), $wpmove_options['ftp_hostname'], $wpmove_options['ftp_port'] );
     1019                $this->flush_output();
    10191020
    10201021                // Set the hostname and the port
     
    10251026
    10261027                    echo ' <strong>' . __( 'Success!', 'WPMove' ) . '</strong><br>';
     1028                    $this->flush_output();
    10271029
    10281030                    // Display a different message if no password is given
     
    10321034                        printf( __( 'Logging in as %s without a password...', 'WPMove' ), $wpmove_options['ftp_username'] );
    10331035
     1036                    $this->flush_output();
     1037
    10341038                    // Login to the server using the supplied credentials
    10351039                    if ( $ftp->login( $wpmove_options['ftp_username'], $ftp_password ) ) {
    10361040
    10371041                        echo ' <strong>' . __( 'Success!', 'WPMove' ) . '</strong><br>' . __( 'Starting uploading files...', 'WPMove' ) . '<br>';
     1042
     1043                        $this->flush_output();
    10381044
    10391045                        // Changes the present working directory to the backup directory on the remote server
     
    10461052                        foreach ( $files as $file ) {
    10471053                            printf( __( '%s is being uploaded...', 'WPMove' ), basename( $file ) );
    1048 
     1054                            $this->flush_output();
    10491055                            if ( FALSE !== ( $ftp->put( trailingslashit( WPMOVE_BACKUP_DIR ) . $file, basename( $file ) ) ) ) {
    10501056                                echo '<strong>' . __( ' Success!', 'WPMove' ) . '</strong><br>';
     
    10531059                                $error_count++;
    10541060                            }
     1061                            $this->flush_output();
    10551062                        }
    10561063
     
    10601067                        else
    10611068                            _e( 'Uploading files is completed without an error...', 'WPMove' );
     1069
     1070                        $this->flush_output();
    10621071
    10631072                        echo '<br>';
     
    11191128                                printf( __( '%s is being imported... ', 'WPMove' ), basename( $file ) );
    11201129
     1130                                $this->flush_output();
     1131                               
    11211132                                if ( wpmove_import_db_backup( basename( $file ) ) ) {
    11221133                                    echo '<b>' . __( 'Success!', 'WPMove' ) . '</b></span><br>';
     
    11321143                                echo '<span class="code">';
    11331144                                printf( __( '%s is being extracted... ', 'WPMove' ), basename( $file ) );
     1145
     1146                                $this->flush_output();
    11341147
    11351148                                if ( wpmove_extract_archive( basename( $file ), ABSPATH ) ) {
     
    17911804
    17921805        /**
     1806         * Flushes the output buffer.
     1807         *
     1808         * @param void
     1809         * @return void
     1810         */
     1811        function flush_output() {
     1812            wp_ob_end_flush_all();
     1813            flush();
     1814        }
     1815
     1816        /**
    17931817         * Adds a menu to the ACP
    17941818         *
Note: See TracChangeset for help on using the changeset viewer.