@@ -121,6 +121,9 @@ |
||
| 121 | 121 | return $images; |
| 122 | 122 | } |
| 123 | 123 | |
| 124 | + /** |
|
| 125 | + * @param string $path |
|
| 126 | + */ |
|
| 124 | 127 | private function wpcom_json_api_request_as_blog( $path, $version = 1, $args = array(), $body = null, $base_api_path = 'rest' ) { |
| 125 | 128 | if ( ! class_exists( 'Jetpack_Client' ) ) { |
| 126 | 129 | return new WP_Error( 'missing_jetpack', 'The `Jetpack_Client` class is missing' ); |