@@ -66,6 +66,7 @@ discard block |
||
| 66 | 66 | * |
| 67 | 67 | * Similar to current_user_can, but internal to VideoPress. Returns |
| 68 | 68 | * true if the given VideoPress capability is allowed by the given user. |
| 69 | + * @param string $cap |
|
| 69 | 70 | */ |
| 70 | 71 | public function can( $cap, $user_id = false ) { |
| 71 | 72 | if ( ! $user_id ) { |
@@ -234,7 +235,7 @@ discard block |
||
| 234 | 235 | /** |
| 235 | 236 | * A work-around / hack to make it possible to go to the media library with the add new box open. |
| 236 | 237 | * |
| 237 | - * @return bool |
|
| 238 | + * @return false|null |
|
| 238 | 239 | */ |
| 239 | 240 | public function print_in_footer_open_media_add_new() { |
| 240 | 241 | global $pagenow; |
@@ -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 ) { |