@@ -146,6 +146,9 @@ discard block |
||
146 | 146 | return $this->is_private() && $this->get_atomic_cloud_site_option( 'wpcom_coming_soon' ) == 1; |
147 | 147 | } |
148 | 148 | |
149 | + /** |
|
150 | + * @param string $option |
|
151 | + */ |
|
149 | 152 | function get_atomic_cloud_site_option( $option ) { |
150 | 153 | if ( ! jetpack_is_atomic_site() ) { |
151 | 154 | return false; |
@@ -210,6 +213,9 @@ discard block |
||
210 | 213 | return true; |
211 | 214 | } |
212 | 215 | |
216 | + /** |
|
217 | + * @param string $role |
|
218 | + */ |
|
213 | 219 | function current_user_can( $role ) { |
214 | 220 | return current_user_can( $role ); |
215 | 221 | } |