1 | <?php |
||
3 | class Jetpack_Comments_Sync { |
||
4 | |||
5 | static $sync = array(); |
||
|
|||
6 | static $delete = array(); |
||
7 | |||
8 | static $jetpack_sync = null; |
||
9 | |||
10 | static function init() { |
||
26 | |||
27 | static function get_comment_ids_to_delete() { |
||
30 | |||
31 | static function wp_insert_comment( $comment_id, $comment ) { |
||
34 | |||
35 | static function transition_comment_status( $new_status, $old_status, $comment ) { |
||
38 | |||
39 | static function edit_comment( $comment_id ) { |
||
42 | |||
43 | static function delete_comment( $comment_id ) { |
||
46 | |||
47 | } |
The PSR-2 coding standard requires that all properties in a class have their visibility explicitly declared. If you declare a property using
the property is implicitly global.
To learn more about the PSR-2, please see the PHP-FIG site on the PSR-2.