@@ -543,6 +543,7 @@ |
||
| 543 | 543 | * @internal |
| 544 | 544 | * |
| 545 | 545 | * @param bool &$error Did the remote request result in an error? |
| 546 | + * @param boolean $error |
|
| 546 | 547 | * @return bool True if PSH is active. |
| 547 | 548 | */ |
| 548 | 549 | function jetpack_get_remote_is_psh_active( &$error ) { |
@@ -271,6 +271,9 @@ discard block |
||
| 271 | 271 | } |
| 272 | 272 | } |
| 273 | 273 | |
| 274 | + /** |
|
| 275 | + * @param string $type |
|
| 276 | + */ |
|
| 274 | 277 | static function get_video_poster( $type, $id ) { |
| 275 | 278 | if ( 'videopress' == $type ) { |
| 276 | 279 | if ( function_exists( 'video_get_highest_resolution_image_url' ) ) { |
@@ -356,6 +359,9 @@ discard block |
||
| 356 | 359 | return str_word_count( self::clean_text( $post_content ) ); |
| 357 | 360 | } |
| 358 | 361 | |
| 362 | + /** |
|
| 363 | + * @param string $excerpt_content |
|
| 364 | + */ |
|
| 359 | 365 | static function get_word_remaining_count( $post_content, $excerpt_content ) { |
| 360 | 366 | /** |
| 361 | 367 | * es_api_word_count is useful to count words in all languages. |