Completed
Push — sync/2may2017-related-posts ( 11e680...9efa2d )
by George
23:43 queued 15:35
created
class.jetpack-post-images.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -153,6 +153,7 @@  discard block
 block discarded – undo
153 153
 	/**
154 154
 	 * Get attachment images for a specified post and return them. Also make sure
155 155
 	 * their dimensions are at or above a required minimum.
156
+	 * @param integer $post_id
156 157
 	 */
157 158
 	static function from_attachment( $post_id, $width = 200, $height = 200 ) {
158 159
 		$images = array();
@@ -545,7 +546,6 @@  discard block
 block discarded – undo
545 546
 	 * resized and cropped image.
546 547
 	 *
547 548
 	 * @param  string $src
548
-	 * @param  int    $dimension
549 549
 	 * @return string            Transformed image URL
550 550
 	 */
551 551
 	static function fit_image_url( $src, $width, $height ) {
Please login to merge, or discard this patch.
modules/widgets/internet-defense-league.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -129,6 +129,9 @@
 block discarded – undo
129 129
 		echo '<p>' . sprintf( _x( 'Learn more about the %s', 'the Internet Defense League', 'jetpack' ), '<a href="https://www.internetdefenseleague.org/">Internet Defense League</a>' ) . '</p>';
130 130
 	}
131 131
 
132
+	/**
133
+	 * @param string $field_name
134
+	 */
132 135
 	public function select( $field_name, $options, $default = null ) {
133 136
 		echo '<select class="widefat" name="' . $this->get_field_name( $field_name ) . '">';
134 137
 		foreach ( $options as $option_slug => $option_name ) {
Please login to merge, or discard this patch.
modules/related-posts/jetpack-related-posts.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -707,7 +707,6 @@  discard block
 block discarded – undo
707 707
 	/**
708 708
 	 * Returns a UTF-8 encoded array of post information for the given post_id
709 709
 	 *
710
-	 * @param int $post_id
711 710
 	 * @param int $position
712 711
 	 * @param int $origin The post id that this is related to
713 712
 	 * @uses get_post, get_permalink, remove_query_arg, get_post_format, apply_filters
@@ -1571,6 +1570,8 @@  discard block
 block discarded – undo
1571 1570
 	 * Enqueues assets needed to do async loading of related posts.
1572 1571
 	 *
1573 1572
 	 * @uses wp_enqueue_script, wp_enqueue_style, plugins_url
1573
+	 * @param boolean $script
1574
+	 * @param boolean $style
1574 1575
 	 * @return null
1575 1576
 	 */
1576 1577
 	protected function _enqueue_assets( $script, $style ) {
Please login to merge, or discard this patch.