@@ -271,6 +271,11 @@ discard block |
||
271 | 271 | ) ); |
272 | 272 | } |
273 | 273 | |
274 | + /** |
|
275 | + * @param string $path |
|
276 | + * @param string $classname |
|
277 | + * @param Jetpack_IXR_Client $arguments |
|
278 | + */ |
|
274 | 279 | public static function route( $path, $classname, $method, $arguments = NULL ) { |
275 | 280 | if ( ! empty( $arguments ) ) { |
276 | 281 | $endpoint = new $classname( $arguments ); |
@@ -2283,7 +2288,7 @@ discard block |
||
2283 | 2288 | * |
2284 | 2289 | * @param string $route Regular expression for the endpoint with the module slug to return. |
2285 | 2290 | * |
2286 | - * @return array |
|
2291 | + * @return string |
|
2287 | 2292 | */ |
2288 | 2293 | public static function get_module_requested( $route ) { |
2289 | 2294 |