Ticket #5586: 5586.6.diff
| File 5586.6.diff, 486 bytes (added by DD32, 4 months ago) |
|---|
-
wp-admin/includes/update.php
old new 142 142 143 143 //Get the Base folder 144 144 $base = $wp_filesystem->get_base_dir(); 145 146 if ( empty($base) ) 147 return new WP_Error('fs_nowordpress', __('Unable to locate WordPress directory.')); 145 148 146 149 // Get the URL to the zip file 147 150 $r = $current->response[ $plugin ];
