Skip to content

Commit f4a7cdc

Browse files
committed
Cleanup after merge
1 parent fd07a02 commit f4a7cdc

1 file changed

Lines changed: 0 additions & 42 deletions

File tree

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

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -59,20 +59,6 @@ abstract class Tasks implements Tasks_Interface {
5959
*/
6060
protected const DEPENDENCIES = [];
6161

62-
/**
63-
* Whether the task is interactive.
64-
*
65-
* @var bool
66-
*/
67-
const IS_INTERACTIVE = false;
68-
69-
/**
70-
* The popover ID for interactive tasks.
71-
*
72-
* @var string
73-
*/
74-
const POPOVER_ID = '';
75-
7662
/**
7763
* Whether the task is repetitive.
7864
*
@@ -573,34 +559,6 @@ protected function transform_collector_data( array $data ): array {
573559
return $data;
574560
}
575561

576-
/**
577-
* Add the popover.
578-
*
579-
* @return void
580-
*/
581-
public function add_popover() {
582-
?>
583-
<div id="prpl-popover-<?php echo \esc_attr( static::POPOVER_ID ); ?>" class="prpl-popover prpl-popover-interactive" popover>
584-
<?php $this->the_popover_content(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
585-
</div>
586-
<?php
587-
}
588-
589-
/**
590-
* The popover content.
591-
*
592-
* @return void
593-
*/
594-
public function the_popover_content() {
595-
\progress_planner()->the_view(
596-
'popovers/' . static::POPOVER_ID . '.php',
597-
[
598-
'prpl_popover_id' => static::POPOVER_ID,
599-
'prpl_provider_id' => $this->get_provider_id(),
600-
]
601-
);
602-
}
603-
604562
/**
605563
* Check if the task dependencies are satisfied.
606564
*

0 commit comments

Comments
 (0)