Plugin Directory

Changeset 769618


Ignore:
Timestamp:
09/10/2013 09:05:31 AM (13 years ago)
Author:
Driskell
Message:

Stage dev version

Location:
wponlinebackup/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • wponlinebackup/trunk/include/admin.php

    r768952 r769618  
    933933                    'jquery',
    934934                ),
    935                 '2013061001'
     935                '2013091001'
    936936            );
    937937            wp_localize_script(
     
    42294229</tr>
    42304230<tr valign="top">
    4231 <th scope="row" style="text-align: right; padding: 18px">&nbsp;</th>
    4232 <td><p><input type="submit" value="<?php echo __( 'Save Advanced Settings', 'wponlinebackup' ); ?>" class="button-primary"></p></td>
    4233 </tr>
    4234 <tr valign="top">
    42354231<th scope="row" style="text-align: right; padding: 18px"><label for="zip_backwards_compat" style="font-weight: bold"><?php echo 'zip_backwards_compat'; ?></label></th>
    42364232<td><p><input type="checkbox" name="override_zip_backwards_compat" id="override_zip_backwards_compat" value="1"<?php
     
    42484244        }
    42494245?>>&nbsp;<?php _e( 'No', 'Yes/No radio button', 'wponlinebackup' ); ?></p></td>
     4246</tr>
     4247<tr valign="top">
     4248<th scope="row" style="text-align: right; padding: 18px">&nbsp;</th>
     4249<td><p><input type="submit" value="<?php echo __( 'Save Advanced Settings', 'wponlinebackup' ); ?>" class="button-primary"></p></td>
    42504250</tr>
    42514251</table>
  • wponlinebackup/trunk/include/files.php

    r768952 r769618  
    9797        }
    9898
    99         return $c . preg_replace( '#[/' . ( DIRECTORY_SEPARATOR == '\\' ? '\\\\' : '' ) . ']+#', '/', $path );
     99        $c .= preg_replace( '#[/' . ( DIRECTORY_SEPARATOR == '\\' ? '\\\\' : '' ) . ']+#', '/', $path );
     100
     101        if ( substr( $c, -1 ) == DIRECTORY_SEPARATOR )
     102            $c = substr( $c, 0, -1 );
     103
     104        return $c;
    100105    }
    101106
     
    163168            // This seems the safest way to get the plugin paths
    164169            $excludes[ WPONLINEBACKUP_FILE_EXCLUDE_PLUGINS ] = WP_PLUGIN_DIR;
    165             $excludes[ WPONLINEBACKUP_FILE_EXCLUDE_PLUGINS ] = WPMU_PLUGIN_DIR;
     170            $excludes[ WPONLINEBACKUP_FILE_EXCLUDE_PLUGINS_MU ] = WPMU_PLUGIN_DIR;
    166171
    167172        }
  • wponlinebackup/trunk/js/progress.js

    r724954 r769618  
    7070
    7171            // Update the error and warning counts if we have an activity, and make sure the events area is visible
    72             if ( result.activity_id != 0 ) {
     72            if ( result.activity_id == 0 ) {
     73
     74                if ( $('#wponlinebackup_events').is( ':visible' ) )
     75                    $('#wponlinebackup_events').animate( { opacity: 0 } ).slideUp();
     76
     77            } else {
    7378
    7479                if ( !$('#wponlinebackup_events').is( ':visible' ) )
     
    98103
    99104                // Hide the background message and the stop button
    100                 $('#wponlinebackup_background_message').animate( { opacity: 0 } ).slideUp();
    101                 $('#wponlinebackup_stop_message').animate( { opacity: 0 } ).slideUp();
     105                if ( $('#wponlinebackup_background_message').is( ':visible' ) )
     106                    $('#wponlinebackup_background_message').animate( { opacity: 0 } ).slideUp();
     107                if ( $('#wponlinebackup_stop_message').is( ':visible' ) )
     108                    $('#wponlinebackup_stop_message').animate( { opacity: 0 } ).slideUp();
    102109
    103110                // If size is given then update the size of the file and show the download links, and set the filename
     
    106113                    $('#wponlinebackup_completed_file').text( result.file );
    107114                    $('#wponlinebackup_completed_form').val( result.file );
    108                     $('#wponlinebackup_completed_message').css( 'opacity', 0 ).slideDown().animate( { opacity: 1 } );
     115                    if ( !$('#wponlinebackup_completed_message').is( ':visible' ) )
     116                        $('#wponlinebackup_completed_message').css( 'opacity', 0 ).slideDown().animate( { opacity: 1 } );
    109117                }
    110118
    111119            } else { // result.progress != 100
     120
     121                // Show the background message and the stop button
     122                if ( !$('#wponlinebackup_background_message').is( ':visible' ) )
     123                    $('#wponlinebackup_background_message').css( 'opacity', 0 ).slideDown().animate( { opacity: 1 } );
     124                if ( !$('#wponlinebackup_stop_message').is( ':visible' ) )
     125                    $('#wponlinebackup_stop_message').css( 'opacity', 0 ).slideDown().animate( { opacity: 1 } );
     126
     127                // Hide the completed message
     128                if ( $('#wponlinebackup_completed_message').is( ':visible' ) )
     129                    $('#wponlinebackup_completed_message').animate( { opacity: 0 } ).slideUp();
    112130
    113131                // If we're stopping, disable the stop button
  • wponlinebackup/trunk/readme.txt

    r768985 r769618  
    7171
    7272== Changelog ==
     73
     74= 3.0.5 =
     75* Fix "Exclude plugins" which was not working for the common plugins folder, and was only working for the mu-plugins folder
    7376
    7477= 3.0.4 =
Note: See TracChangeset for help on using the changeset viewer.