Skip to content

Commit 833468b

Browse files
authored
Merge pull request #613 from ProgressPlanner/filip/v18/core-update-parent
Fix link target after "Performa all updatesd" task is done
2 parents ad6b384 + b8a795c commit 833468b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

classes/suggested-tasks/providers/class-core-update.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public function add_core_update_link( $update_actions ) {
9797
if ( $this->get_task_id() === $task->task_id ) {
9898
$update_actions['prpl_core_update'] =
9999
'<img src="' . \esc_attr( \constant( 'PROGRESS_PLANNER_URL' ) . '/assets/images/icon_progress_planner.svg' ) . '" style="width:1rem;padding-left:0.25rem;padding-right:0.25rem;vertical-align:middle;" alt="Progress Planner" />' .
100-
'<a href="' . \esc_url( \admin_url( 'admin.php?page=progress-planner' ) ) . '" target="_self">' . \esc_html__( 'Click here to celebrate your completed task!', 'progress-planner' ) . '</a>';
100+
'<a href="' . \esc_url( \admin_url( 'admin.php?page=progress-planner' ) ) . '" target="_parent">' . \esc_html__( 'Click here to celebrate your completed task!', 'progress-planner' ) . '</a>';
101101
break;
102102
}
103103
}

0 commit comments

Comments
 (0)