@@ -652,6 +652,9 @@ discard block |
||
| 652 | 652 | return $comment; |
| 653 | 653 | } |
| 654 | 654 | |
| 655 | + /** |
|
| 656 | + * @param string $when |
|
| 657 | + */ |
|
| 655 | 658 | private function schedule_sync( $when ) { |
| 656 | 659 | wp_schedule_single_event( strtotime( $when ), 'jetpack_sync_actions' ); |
| 657 | 660 | } |
@@ -818,6 +821,9 @@ discard block |
||
| 818 | 821 | update_option( self::CALLABLES_CHECKSUM_OPTION_NAME , $callable_checksums ); |
| 819 | 822 | } |
| 820 | 823 | |
| 824 | + /** |
|
| 825 | + * @param integer $new_sum |
|
| 826 | + */ |
|
| 821 | 827 | private function still_valid_checksum( $sums_to_check, $name, $new_sum ) { |
| 822 | 828 | if ( isset( $sums_to_check[ $name ] ) && $sums_to_check[ $name ] === $new_sum ) { |
| 823 | 829 | return true; |