@@ -35,6 +35,7 @@ discard block |
||
| 35 | 35 | /** |
| 36 | 36 | * Singleton implementation |
| 37 | 37 | * |
| 38 | + * @param string|false $ip_address |
|
| 38 | 39 | * @return object |
| 39 | 40 | */ |
| 40 | 41 | public static function instance( $ip_address ) { |
@@ -348,6 +349,9 @@ discard block |
||
| 348 | 349 | return $contents; |
| 349 | 350 | } |
| 350 | 351 | |
| 352 | + /** |
|
| 353 | + * @param string $message |
|
| 354 | + */ |
|
| 351 | 355 | function display_page( $title, $message, $back_button = false, $recovery_form = false ) { |
| 352 | 356 | |
| 353 | 357 | if ( ! headers_sent() ) { |
@@ -378,7 +378,7 @@ discard block |
||
| 378 | 378 | * |
| 379 | 379 | * @since 8.0.0 |
| 380 | 380 | * |
| 381 | - * @param array $url The parsed URL of the shortcode. |
|
| 381 | + * @param string|false $url The parsed URL of the shortcode. |
|
| 382 | 382 | * |
| 383 | 383 | * @return array|false The query args of the URL, or false. |
| 384 | 384 | */ |
@@ -452,7 +452,7 @@ discard block |
||
| 452 | 452 | * |
| 453 | 453 | * @param array $query_args The query args of the URL. |
| 454 | 454 | * |
| 455 | - * @return array The width and height of the shortcode. |
|
| 455 | + * @return integer[] The width and height of the shortcode. |
|
| 456 | 456 | */ |
| 457 | 457 | function jetpack_shortcode_youtube_dimensions( $query_args ) { |
| 458 | 458 | global $content_width; |