File tree Expand file tree Collapse file tree
classes/suggested-tasks/providers/integrations/yoast Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ public function get_description( $task_id = '' ) {
142142 * @return string
143143 */
144144 public function get_url ( $ task_id = '' ) {
145- return $ this ->capability_required () ? \esc_url ( admin_url ( 'admin.php?page=wpseo_workouts ' ) ) : '' ;
145+ return $ this ->capability_required () ? \esc_url ( admin_url ( 'admin.php?page=wpseo_workouts#cornerstone ' ) ) : '' ;
146146 }
147147
148148 /**
@@ -151,7 +151,7 @@ public function get_url( $task_id = '' ) {
151151 * @return bool
152152 */
153153 public function should_add_task () {
154- if ( ! function_exists ( 'YoastSEO ' ) ) {
154+ if ( ! defined ( 'WPSEO_PREMIUM_VERSION ' ) ) {
155155 return false ;
156156 }
157157
Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ public function get_description( $task_id = '' ) {
141141 * @return string
142142 */
143143 public function get_url ( $ task_id = '' ) {
144- return $ this ->capability_required () ? \esc_url ( admin_url ( 'admin.php?page=wpseo_workouts ' ) ) : '' ;
144+ return $ this ->capability_required () ? \esc_url ( admin_url ( 'admin.php?page=wpseo_workouts#orphaned ' ) ) : '' ;
145145 }
146146
147147 /**
@@ -150,7 +150,7 @@ public function get_url( $task_id = '' ) {
150150 * @return bool
151151 */
152152 public function should_add_task () {
153- if ( ! function_exists ( 'YoastSEO ' ) ) {
153+ if ( ! defined ( 'WPSEO_PREMIUM_VERSION ' ) ) {
154154 return false ;
155155 }
156156
You can’t perform that action at this time.
0 commit comments