Skip to content

Commit 7c0b3eb

Browse files
committed
Change URL & action
1 parent 041e414 commit 7c0b3eb

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

classes/suggested-tasks/providers/integrations/yoast/class-fix-orphaned-content.php

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,6 @@ class Fix_Orphaned_Content extends Yoast_Provider {
5757
*/
5858
protected const DATA_COLLECTOR_CLASS = Yoast_Orphaned_Content::class;
5959

60-
/**
61-
* The external link URL.
62-
*
63-
* @var string
64-
*/
65-
protected const EXTERNAL_LINK_URL = 'https://prpl.fyi/fix-orphaned-content';
66-
6760
/**
6861
* Initialize the task provider.
6962
*
@@ -237,7 +230,7 @@ public function exclude_completed_posts( $exclude_post_ids ) {
237230
public function add_task_actions( $data = [], $actions = [] ) {
238231
$actions[] = [
239232
'priority' => 10,
240-
'html' => '<a class="prpl-tooltip-action-text" href="' . \admin_url( 'admin.php?page=wpseo_tools#/fix-orphaned-content' ) . '" target="_self">' . \esc_html__( 'Add internal links', 'progress-planner' ) . '</a>',
233+
'html' => '<a class="prpl-tooltip-action-text" href="https://prpl.fyi/fix-orphaned-content" target="_blank">' . \esc_html__( 'Learn more about internal linking', 'progress-planner' ) . '</a>',
241234
];
242235

243236
return $actions;

0 commit comments

Comments
 (0)