Completed
Push — update/sharing-bugfixes ( 0b2741 )
by
unknown
13:27
created
modules/sharedaddy/sharing-sources.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -339,6 +339,9 @@  discard block
 block discarded – undo
339 339
 		do_action( 'sharing_bump_stats', array( 'service' => $this, 'post' => $post ) );
340 340
 	}
341 341
 
342
+	/**
343
+	 * @param string $name
344
+	 */
342 345
 	public function js_dialog( $name, $params = array() ) {
343 346
 		if ( true !== $this->open_link_in_new ) {
344 347
 			return;
@@ -1458,6 +1461,9 @@  discard block
 block discarded – undo
1458 1461
 		return __( 'Pinterest', 'jetpack' );
1459 1462
 	}
1460 1463
 
1464
+	/**
1465
+	 * @return string
1466
+	 */
1461 1467
 	public function get_image( $post ) {
1462 1468
 		if ( class_exists( 'Jetpack_PostImages' ) ) {
1463 1469
 			$image = Jetpack_PostImages::get_image( $post->ID, array( 'fallback_to_avatars' => true ) );
Please login to merge, or discard this patch.