@@ -16,6 +16,9 @@ discard block |
||
| 16 | 16 | public $blog_id; |
| 17 | 17 | public $platform; |
| 18 | 18 | |
| 19 | + /** |
|
| 20 | + * @param WPORG_Platform $platform |
|
| 21 | + */ |
|
| 19 | 22 | public function __construct( $blog_id, $platform ) { |
| 20 | 23 | $this->blog_id = $blog_id; |
| 21 | 24 | $this->platform = $platform; |
@@ -141,6 +144,9 @@ discard block |
||
| 141 | 144 | return false; |
| 142 | 145 | } |
| 143 | 146 | |
| 147 | + /** |
|
| 148 | + * @param string $context |
|
| 149 | + */ |
|
| 144 | 150 | public function get_post_by_id( $post_id, $context ) { |
| 145 | 151 | // Remove the skyword tracking shortcode for posts returned via the API. |
| 146 | 152 | remove_shortcode( 'skyword-tracking' ); |