fix bg process logs links
This commit is contained in:
parent
b2d449f387
commit
7a416976c8
|
@ -230,8 +230,8 @@ class REST_Background_Processes_Controller extends REST_Controller {
|
||||||
$filename = 'bg-' . $action . '-' . $id . $suffix . '.log';
|
$filename = 'bg-' . $action . '-' . $id . $suffix . '.log';
|
||||||
|
|
||||||
$upload_url = wp_upload_dir();
|
$upload_url = wp_upload_dir();
|
||||||
$upload_url = trailingslashit( $upload_url['url'] );
|
$upload_url = trailingslashit( $upload_url['baseurl'] );
|
||||||
$logs_url = $upload_url . 'tainacan';
|
$logs_url = $upload_url . 'tainacan/' . $filename;
|
||||||
|
|
||||||
return $logs_url;
|
return $logs_url;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue