Skip to content

Commit 9ed0ba8

Browse files
committed
print_popover_form_contents should be an abstract method
1 parent 649462c commit 9ed0ba8

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,4 +292,13 @@ protected function the_popover_content() {
292292
]
293293
);
294294
}
295+
296+
/**
297+
* Print the popover form contents.
298+
*
299+
* @return void
300+
*/
301+
public function print_popover_form_contents() {
302+
// The form is handled in the popovers/email-sending view.
303+
}
295304
}

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,7 @@ public function print_popover_instructions() {
151151
*
152152
* @return void
153153
*/
154-
public function print_popover_form_contents() {
155-
}
154+
abstract public function print_popover_form_contents();
156155

157156
/**
158157
* Enqueue the scripts.

0 commit comments

Comments
 (0)