@@ -70,6 +70,9 @@ |
||
70 | 70 | self::maybe_post( $post_id, 'sync' ); |
71 | 71 | } |
72 | 72 | |
73 | + /** |
|
74 | + * @param string $type |
|
75 | + */ |
|
73 | 76 | static function maybe_post( $post_id, $type ) { |
74 | 77 | // Is already marked as to be synced? |
75 | 78 | if ( ! in_array( $post_id, self::$posts[$type] ) ) { |