Plugin Directory

Changeset 494337


Ignore:
Timestamp:
01/23/2012 11:40:37 PM (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

    r493344 r494337  
    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.
    6766* Empty HTML files are added to backup directories to prevent them being listed by people trying to access the directory via their browsers.
    6867
  • wordpress-move/tags/1.3/wordpress-move.php

    r493292 r494337  
    10171017
    10181018                printf( __( 'Connecting to %s:%d...', 'WPMove' ), $wpmove_options['ftp_hostname'], $wpmove_options['ftp_port'] );
    1019                 $this->flush_output();
    10201019
    10211020                // Set the hostname and the port
     
    10261025
    10271026                    echo ' <strong>' . __( 'Success!', 'WPMove' ) . '</strong><br>';
    1028                     $this->flush_output();
    10291027
    10301028                    // Display a different message if no password is given
     
    10341032                        printf( __( 'Logging in as %s without a password...', 'WPMove' ), $wpmove_options['ftp_username'] );
    10351033
    1036                     $this->flush_output();
    1037 
    10381034                    // Login to the server using the supplied credentials
    10391035                    if ( $ftp->login( $wpmove_options['ftp_username'], $ftp_password ) ) {
    10401036
    10411037                        echo ' <strong>' . __( 'Success!', 'WPMove' ) . '</strong><br>' . __( 'Starting uploading files...', 'WPMove' ) . '<br>';
    1042 
    1043                         $this->flush_output();
    10441038
    10451039                        // Changes the present working directory to the backup directory on the remote server
     
    10521046                        foreach ( $files as $file ) {
    10531047                            printf( __( '%s is being uploaded...', 'WPMove' ), basename( $file ) );
    1054                             $this->flush_output();
     1048
    10551049                            if ( FALSE !== ( $ftp->put( trailingslashit( WPMOVE_BACKUP_DIR ) . $file, basename( $file ) ) ) ) {
    10561050                                echo '<strong>' . __( ' Success!', 'WPMove' ) . '</strong><br>';
     
    10591053                                $error_count++;
    10601054                            }
    1061                             $this->flush_output();
    10621055                        }
    10631056
     
    10671060                        else
    10681061                            _e( 'Uploading files is completed without an error...', 'WPMove' );
    1069 
    1070                         $this->flush_output();
    10711062
    10721063                        echo '<br>';
     
    11281119                                printf( __( '%s is being imported... ', 'WPMove' ), basename( $file ) );
    11291120
    1130                                 $this->flush_output();
    1131                                
    11321121                                if ( wpmove_import_db_backup( basename( $file ) ) ) {
    11331122                                    echo '<b>' . __( 'Success!', 'WPMove' ) . '</b></span><br>';
     
    11431132                                echo '<span class="code">';
    11441133                                printf( __( '%s is being extracted... ', 'WPMove' ), basename( $file ) );
    1145 
    1146                                 $this->flush_output();
    11471134
    11481135                                if ( wpmove_extract_archive( basename( $file ), ABSPATH ) ) {
     
    18041791
    18051792        /**
    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         /**
    18171793         * Adds a menu to the ACP
    18181794         *
Note: See TracChangeset for help on using the changeset viewer.