@@ -176,7 +176,7 @@ discard block |
||
| 176 | 176 | * |
| 177 | 177 | * @since 4.3.0 |
| 178 | 178 | * |
| 179 | - * @return array Array of Jetpack modules. |
|
| 179 | + * @return string Array of Jetpack modules. |
|
| 180 | 180 | */ |
| 181 | 181 | public function get_modules() { |
| 182 | 182 | require_once( JETPACK__PLUGIN_DIR . 'class.jetpack-admin.php' ); |
@@ -1104,7 +1104,6 @@ discard block |
||
| 1104 | 1104 | * |
| 1105 | 1105 | * @since 4.3.0 |
| 1106 | 1106 | * |
| 1107 | - * @param WP_REST_Request $request |
|
| 1108 | 1107 | * |
| 1109 | 1108 | * @return bool does a current user have enough privileges. |
| 1110 | 1109 | */ |
@@ -67,6 +67,7 @@ |
||
| 67 | 67 | * |
| 68 | 68 | * Similar to current_user_can, but internal to VideoPress. Returns |
| 69 | 69 | * true if the given VideoPress capability is allowed by the given user. |
| 70 | + * @param string $cap |
|
| 70 | 71 | */ |
| 71 | 72 | public function can( $cap, $user_id = false ) { |
| 72 | 73 | if ( ! $user_id ) { |