Changeset 704 for trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/update_xpress.php
- Timestamp:
- Apr 20, 2011, 6:09:12 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/update_xpress.php
r698 r704 30 30 function update_xpress($from, $to) { 31 31 global $wp_filesystem, $_old_xpress_files, $wpdb; 32 show_message( __('Disable overwrite of wp-config.php...' ) );32 show_message( __('Disable overwrite of wp-config.php...', 'xpressme') ); 33 33 // remove wp-config.php from the new version into place. 34 34 $wp_config = $from . 'wp-config.php'; … … 38 38 39 39 // Copy new versions of XPressME Integration Kit files into place. 40 show_message( __('Copy new versions of XPressME Integration Kit files into place...' ) );40 show_message( __('Copy new versions of XPressME Integration Kit files into place...', 'xpressme') ); 41 41 $result = copy_dir($from . $distro, $to); 42 42 if ( is_wp_error($result) ) { … … 47 47 48 48 // Remove old files 49 show_message( __('Remove an unnecessary, old file...' ) );49 show_message( __('Remove an unnecessary, old file...', 'xpressme') ); 50 50 foreach ( $_old_xpress_files as $old_file ) { 51 51 $old_file = $to . $old_file; … … 54 54 $wp_filesystem->delete($old_file, true); 55 55 } 56 show_message( __('Set templates directory chmod 777' ) );56 show_message( __('Set templates directory chmod 777', 'xpressme') ); 57 57 $wp_filesystem->chmod($to . 'templates/', 0777); 58 58 59 59 // Remove working directory 60 60 $working_dir = dirname(dirname($from)); 61 show_message( sprintf(__('Remove working directory(%s)...' ),$working_dir) );61 show_message( sprintf(__('Remove working directory(%s)...', 'xpressme'),$working_dir) ); 62 62 $wp_filesystem->delete($working_dir, true); 63 63
Note: See TracChangeset
for help on using the changeset viewer.