@@ -174,6 +174,7 @@ discard block |
||
| 174 | 174 | * @since 1.3 |
| 175 | 175 | * @var string $guid VideoPress unique identifier |
| 176 | 176 | * @var int $maxwidth maximum requested video width. final width and height are calculated on VideoPress servers based on the aspect ratio of the original video upload. |
| 177 | + * @param string $guid |
|
| 177 | 178 | */ |
| 178 | 179 | public function __construct( $guid, $maxwidth = 640 ) { |
| 179 | 180 | $this->guid = $guid; |
@@ -311,7 +312,7 @@ discard block |
||
| 311 | 312 | * |
| 312 | 313 | * @since 1.2 |
| 313 | 314 | * @param string $url absolute URL |
| 314 | - * @return bool|string host component of the URL, or false if none found |
|
| 315 | + * @return string|false host component of the URL, or false if none found |
|
| 315 | 316 | */ |
| 316 | 317 | public static function hostname( $url ) { |
| 317 | 318 | return wp_parse_url( esc_url_raw( $url ), PHP_URL_HOST ); |
@@ -325,7 +325,7 @@ |
||
| 325 | 325 | * @access protected |
| 326 | 326 | * |
| 327 | 327 | * @param string $status Comment status. |
| 328 | - * @return string|bool New comment_approved value, false if the status doesn't affect it. |
|
| 328 | + * @return string|false New comment_approved value, false if the status doesn't affect it. |
|
| 329 | 329 | */ |
| 330 | 330 | protected function comment_status_to_approval_value( $status ) { |
| 331 | 331 | switch ( (string) $status ) { |