| 
                                
                                    @@ 277-294 (lines=18) @@
                                 | 
                            
                                                            
                                    | 274 | 
                                     | 
                                    		}  | 
                                
                                                            
                                    | 275 | 
                                     | 
                                    	}  | 
                                
                                                            
                                    | 276 | 
                                     | 
                                     | 
                                
                                                            
                                    | 277 | 
                                     | 
                                    	if ( ( 'monthly' === $schedule_recurrence_type ) && isset( $_POST['hmbkp_schedule_recurrence']['hmbkp_schedule_start_day_of_month'] ) ) { | 
                                
                                                            
                                    | 278 | 
                                     | 
                                     | 
                                
                                                            
                                    | 279 | 
                                     | 
                                    		$day_of_month = absint( $_POST['hmbkp_schedule_recurrence']['hmbkp_schedule_start_day_of_month'] );  | 
                                
                                                            
                                    | 280 | 
                                     | 
                                     | 
                                
                                                            
                                    | 281 | 
                                     | 
                                    		$options = array(  | 
                                
                                                            
                                    | 282 | 
                                     | 
                                    			'min_range' => 1,  | 
                                
                                                            
                                    | 283 | 
                                     | 
                                    			'max_range' => 31,  | 
                                
                                                            
                                    | 284 | 
                                     | 
                                    		);  | 
                                
                                                            
                                    | 285 | 
                                     | 
                                     | 
                                
                                                            
                                    | 286 | 
                                     | 
                                    		if ( false === filter_var( $day_of_month, FILTER_VALIDATE_INT, array( 'options' => $options ) ) ) { | 
                                
                                                            
                                    | 287 | 
                                     | 
                                    			$errors['hmbkp_schedule_start_day_of_month'] = __( 'Day of month must be between 1 and 31', 'backupwordpress' );  | 
                                
                                                            
                                    | 288 | 
                                     | 
                                    		} else { | 
                                
                                                            
                                    | 289 | 
                                     | 
                                    			$settings['start_time']['day_of_month'] = $day_of_month;  | 
                                
                                                            
                                    | 290 | 
                                     | 
                                    		}  | 
                                
                                                            
                                    | 291 | 
                                     | 
                                    	}  | 
                                
                                                            
                                    | 292 | 
                                     | 
                                     | 
                                
                                                            
                                    | 293 | 
                                     | 
                                    	if ( isset( $_POST['hmbkp_schedule_recurrence']['hmbkp_schedule_start_hours'] ) ) { | 
                                
                                                            
                                    | 294 | 
                                     | 
                                     | 
                                
                                                            
                                    | 295 | 
                                     | 
                                    		$hours = absint( $_POST['hmbkp_schedule_recurrence']['hmbkp_schedule_start_hours'] );  | 
                                
                                                            
                                    | 296 | 
                                     | 
                                     | 
                                
                                                            
                                    | 297 | 
                                     | 
                                    		$options = array(  | 
                                
                                                                                
                                 | 
                                
                                    @@ 293-310 (lines=18) @@
                                 | 
                            
                                                            
                                    | 290 | 
                                     | 
                                    		}  | 
                                
                                                            
                                    | 291 | 
                                     | 
                                    	}  | 
                                
                                                            
                                    | 292 | 
                                     | 
                                     | 
                                
                                                            
                                    | 293 | 
                                     | 
                                    	if ( isset( $_POST['hmbkp_schedule_recurrence']['hmbkp_schedule_start_hours'] ) ) { | 
                                
                                                            
                                    | 294 | 
                                     | 
                                     | 
                                
                                                            
                                    | 295 | 
                                     | 
                                    		$hours = absint( $_POST['hmbkp_schedule_recurrence']['hmbkp_schedule_start_hours'] );  | 
                                
                                                            
                                    | 296 | 
                                     | 
                                     | 
                                
                                                            
                                    | 297 | 
                                     | 
                                    		$options = array(  | 
                                
                                                            
                                    | 298 | 
                                     | 
                                    			'min_range' => 0,  | 
                                
                                                            
                                    | 299 | 
                                     | 
                                    			'max_range' => 23,  | 
                                
                                                            
                                    | 300 | 
                                     | 
                                    		);  | 
                                
                                                            
                                    | 301 | 
                                     | 
                                     | 
                                
                                                            
                                    | 302 | 
                                     | 
                                    		if ( false === filter_var( $hours, FILTER_VALIDATE_INT, array( 'options' => $options ) ) ) { | 
                                
                                                            
                                    | 303 | 
                                     | 
                                    			$errors['hmbkp_schedule_start_hours'] = __( 'Hours must be between 0 and 23', 'backupwordpress' );  | 
                                
                                                            
                                    | 304 | 
                                     | 
                                    		} else { | 
                                
                                                            
                                    | 305 | 
                                     | 
                                    			$settings['start_time']['hours'] = $hours;  | 
                                
                                                            
                                    | 306 | 
                                     | 
                                    		}  | 
                                
                                                            
                                    | 307 | 
                                     | 
                                    	}  | 
                                
                                                            
                                    | 308 | 
                                     | 
                                     | 
                                
                                                            
                                    | 309 | 
                                     | 
                                    	if ( isset( $_POST['hmbkp_schedule_recurrence']['hmbkp_schedule_start_minutes'] ) ) { | 
                                
                                                            
                                    | 310 | 
                                     | 
                                     | 
                                
                                                            
                                    | 311 | 
                                     | 
                                    		$minutes = absint( $_POST['hmbkp_schedule_recurrence']['hmbkp_schedule_start_minutes'] );  | 
                                
                                                            
                                    | 312 | 
                                     | 
                                     | 
                                
                                                            
                                    | 313 | 
                                     | 
                                    		$options = array(  | 
                                
                                                                                
                                 | 
                                
                                    @@ 309-326 (lines=18) @@
                                 | 
                            
                                                            
                                    | 306 | 
                                     | 
                                    		}  | 
                                
                                                            
                                    | 307 | 
                                     | 
                                    	}  | 
                                
                                                            
                                    | 308 | 
                                     | 
                                     | 
                                
                                                            
                                    | 309 | 
                                     | 
                                    	if ( isset( $_POST['hmbkp_schedule_recurrence']['hmbkp_schedule_start_minutes'] ) ) { | 
                                
                                                            
                                    | 310 | 
                                     | 
                                     | 
                                
                                                            
                                    | 311 | 
                                     | 
                                    		$minutes = absint( $_POST['hmbkp_schedule_recurrence']['hmbkp_schedule_start_minutes'] );  | 
                                
                                                            
                                    | 312 | 
                                     | 
                                     | 
                                
                                                            
                                    | 313 | 
                                     | 
                                    		$options = array(  | 
                                
                                                            
                                    | 314 | 
                                     | 
                                    			'min_range' => 0,  | 
                                
                                                            
                                    | 315 | 
                                     | 
                                    			'max_range' => 59,  | 
                                
                                                            
                                    | 316 | 
                                     | 
                                    		);  | 
                                
                                                            
                                    | 317 | 
                                     | 
                                     | 
                                
                                                            
                                    | 318 | 
                                     | 
                                    		if ( false === filter_var( $minutes, FILTER_VALIDATE_INT, array( 'options' => $options ) ) ) { | 
                                
                                                            
                                    | 319 | 
                                     | 
                                    			$errors['hmbkp_schedule_start_minutes'] = __( 'Minutes must be between 0 and 59', 'backupwordpress' );  | 
                                
                                                            
                                    | 320 | 
                                     | 
                                    		} else { | 
                                
                                                            
                                    | 321 | 
                                     | 
                                    			$settings['start_time']['minutes'] = $minutes;  | 
                                
                                                            
                                    | 322 | 
                                     | 
                                    		}  | 
                                
                                                            
                                    | 323 | 
                                     | 
                                    	}  | 
                                
                                                            
                                    | 324 | 
                                     | 
                                     | 
                                
                                                            
                                    | 325 | 
                                     | 
                                    	if ( isset( $_POST['hmbkp_schedule_max_backups'] ) ) { | 
                                
                                                            
                                    | 326 | 
                                     | 
                                     | 
                                
                                                            
                                    | 327 | 
                                     | 
                                    		$max_backups = sanitize_text_field( $_POST['hmbkp_schedule_max_backups'] );  | 
                                
                                                            
                                    | 328 | 
                                     | 
                                     | 
                                
                                                            
                                    | 329 | 
                                     | 
                                    		if ( empty( $max_backups ) ) { |