@@ -245,7 +245,7 @@ discard block |
||
245 | 245 | /** |
246 | 246 | * A work-around / hack to make it possible to go to the media library with the add new box open. |
247 | 247 | * |
248 | - * @return bool |
|
248 | + * @return false|null |
|
249 | 249 | */ |
250 | 250 | public function print_in_footer_open_media_add_new() { |
251 | 251 | global $pagenow; |
@@ -339,7 +339,7 @@ discard block |
||
339 | 339 | /** |
340 | 340 | * @param array $extensions |
341 | 341 | * |
342 | - * @return array |
|
342 | + * @return string[] |
|
343 | 343 | */ |
344 | 344 | public function add_videopress_extenstion( $extensions ) { |
345 | 345 | $extensions[] = 'videopress'; |
@@ -786,6 +786,9 @@ |
||
786 | 786 | $this->options_save_other( 'google_plus' ); |
787 | 787 | } |
788 | 788 | |
789 | + /** |
|
790 | + * @param string $service_name |
|
791 | + */ |
|
789 | 792 | function options_save_other( $service_name ) { |
790 | 793 | // Nonce check |
791 | 794 | check_admin_referer( 'save_' . $service_name . '_token_' . $_REQUEST['connection'] ); |