Changeset 769618
- Timestamp:
- 09/10/2013 09:05:31 AM (13 years ago)
- Location:
- wponlinebackup/trunk
- Files:
-
- 4 edited
-
include/admin.php (modified) (3 diffs)
-
include/files.php (modified) (2 diffs)
-
js/progress.js (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wponlinebackup/trunk/include/admin.php
r768952 r769618 933 933 'jquery', 934 934 ), 935 '20130 61001'935 '2013091001' 936 936 ); 937 937 wp_localize_script( … … 4229 4229 </tr> 4230 4230 <tr valign="top"> 4231 <th scope="row" style="text-align: right; padding: 18px"> </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">4235 4231 <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> 4236 4232 <td><p><input type="checkbox" name="override_zip_backwards_compat" id="override_zip_backwards_compat" value="1"<?php … … 4248 4244 } 4249 4245 ?>> <?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"> </th> 4249 <td><p><input type="submit" value="<?php echo __( 'Save Advanced Settings', 'wponlinebackup' ); ?>" class="button-primary"></p></td> 4250 4250 </tr> 4251 4251 </table> -
wponlinebackup/trunk/include/files.php
r768952 r769618 97 97 } 98 98 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; 100 105 } 101 106 … … 163 168 // This seems the safest way to get the plugin paths 164 169 $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; 166 171 167 172 } -
wponlinebackup/trunk/js/progress.js
r724954 r769618 70 70 71 71 // 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 { 73 78 74 79 if ( !$('#wponlinebackup_events').is( ':visible' ) ) … … 98 103 99 104 // 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(); 102 109 103 110 // If size is given then update the size of the file and show the download links, and set the filename … … 106 113 $('#wponlinebackup_completed_file').text( result.file ); 107 114 $('#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 } ); 109 117 } 110 118 111 119 } 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(); 112 130 113 131 // If we're stopping, disable the stop button -
wponlinebackup/trunk/readme.txt
r768985 r769618 71 71 72 72 == 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 73 76 74 77 = 3.0.4 =
Note: See TracChangeset
for help on using the changeset viewer.