@@ -324,6 +324,9 @@ discard block |
||
| 324 | 324 | </div><?php |
| 325 | 325 | } |
| 326 | 326 | |
| 327 | + /** |
|
| 328 | + * @param string $service_name |
|
| 329 | + */ |
|
| 327 | 330 | public static function options_page_other( $service_name ) { |
| 328 | 331 | // Nonce check |
| 329 | 332 | check_admin_referer( "options_page_{$service_name}_" . $_REQUEST['connection'] ); |
@@ -704,7 +707,7 @@ discard block |
||
| 704 | 707 | * |
| 705 | 708 | * @param array $connections_data |
| 706 | 709 | * |
| 707 | - * @return array { |
|
| 710 | + * @return string { |
|
| 708 | 711 | * Array of content for generating connection form. |
| 709 | 712 | * |
| 710 | 713 | * @type string HTML content of form |
@@ -426,6 +426,9 @@ discard block |
||
| 426 | 426 | ) ); |
| 427 | 427 | } |
| 428 | 428 | |
| 429 | + /** |
|
| 430 | + * @return string |
|
| 431 | + */ |
|
| 429 | 432 | public static function get_plans( $request ) { |
| 430 | 433 | $request = Jetpack_Client::wpcom_json_api_request_as_user( |
| 431 | 434 | '/plans?_locale=' . get_user_locale(), |
@@ -993,7 +996,6 @@ discard block |
||
| 993 | 996 | * @uses Jetpack::disconnect(); |
| 994 | 997 | * @since 4.3.0 |
| 995 | 998 | * |
| 996 | - * @param WP_REST_Request $request The request sent to the WP REST API. |
|
| 997 | 999 | * |
| 998 | 1000 | * @return string|WP_Error A raw URL if the connection URL could be built; error message otherwise. |
| 999 | 1001 | */ |
@@ -1013,7 +1015,6 @@ discard block |
||
| 1013 | 1015 | * |
| 1014 | 1016 | * @since 4.3.0 |
| 1015 | 1017 | * |
| 1016 | - * @param WP_REST_Request $request The request sent to the WP REST API. |
|
| 1017 | 1018 | * |
| 1018 | 1019 | * @return object |
| 1019 | 1020 | */ |