File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ public function register_actions() {
2828 'update_option_feedzy-settings ' ,
2929 array ( $ this , 'maybe_reschedule_email_report ' ),
3030 10 ,
31- 3
31+ 2
3232 );
3333
3434 add_action (
@@ -89,11 +89,9 @@ public function schedule_email_report() {
8989 * @since 5.1.0
9090 * @param array<string, mixed> $old_value Previous option value.
9191 * @param array<string, mixed> $value New option value.
92- * @param string $option Option name (unused).
9392 * @return void
9493 */
95- public function maybe_reschedule_email_report ( $ old_value , $ value , $ option ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
96-
94+ public function maybe_reschedule_email_report ( $ old_value , $ value ) {
9795 $ old_freq = isset ( $ old_value ['logs ' ]['email_frequency ' ] ) ? sanitize_text_field ( $ old_value ['logs ' ]['email_frequency ' ] ) : '' ;
9896 $ new_freq = isset ( $ value ['logs ' ]['email_frequency ' ] ) ? sanitize_text_field ( $ value ['logs ' ]['email_frequency ' ] ) : '' ;
9997
You can’t perform that action at this time.
0 commit comments