Completed
Push — add/network-enable-them-on-ins... ( 1da29d...f605f3 )
by
unknown
12:13
created
functions.photon.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,6 +7,7 @@  discard block
 block discarded – undo
7 7
  *
8 8
  * @param string $image_url URL to the publicly accessible image you want to manipulate
9 9
  * @param array|string $args An array of arguments, i.e. array( 'w' => '300', 'resize' => array( 123, 456 ) ), or in string form (w=123&h=456)
10
+ * @param string $scheme
10 11
  * @return string The raw final URL. You should run this through esc_url() before displaying it.
11 12
  */
12 13
 function jetpack_photon_url( $image_url, $args = array(), $scheme = null ) {
@@ -268,7 +269,7 @@  discard block
 block discarded – undo
268 269
  *
269 270
  * @param string $url The URL to parse
270 271
  * @param integer $component Retrieve specific URL component
271
- * @return mixed Result of parse_url
272
+ * @return string|false Result of parse_url
272 273
  */
273 274
 function jetpack_photon_parse_url( $url, $component = -1 ) {
274 275
 	if ( 0 === strpos( $url, '//' ) ) {
Please login to merge, or discard this patch.
modules/google-analytics/wp-google-analytics.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -80,6 +80,8 @@
 block discarded – undo
80 80
 
81 81
 	/**
82 82
 	 * Maybe output or return, depending on the context
83
+	 * @param string $val
84
+	 * @param boolean $maybe
83 85
 	 */
84 86
 	private function _output_or_return( $val, $maybe ) {
85 87
 		if ( $maybe ) {
Please login to merge, or discard this patch.
modules/related-posts/jetpack-related-posts.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -294,6 +294,9 @@  discard block
 block discarded – undo
294 294
 		return $this->_options;
295 295
 	}
296 296
 	
297
+	/**
298
+	 * @param string $option_name
299
+	 */
297 300
 	public function get_option( $option_name ) {
298 301
 		$options = $this->get_options();
299 302
 		
@@ -1428,6 +1431,8 @@  discard block
 block discarded – undo
1428 1431
 	 * Enqueues assets needed to do async loading of related posts.
1429 1432
 	 *
1430 1433
 	 * @uses wp_enqueue_script, wp_enqueue_style, plugins_url
1434
+	 * @param boolean $script
1435
+	 * @param boolean $style
1431 1436
 	 * @return null
1432 1437
 	 */
1433 1438
 	protected function _enqueue_assets( $script, $style ) {
Please login to merge, or discard this patch.
modules/stats.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -246,7 +246,7 @@  discard block
 block discarded – undo
246 246
  * Get Stats Options.
247 247
  *
248 248
  * @access public
249
- * @param mixed $option Option.
249
+ * @param string $option Option.
250 250
  * @return mixed|null.
251 251
  */
252 252
 function stats_get_option( $option ) {
@@ -651,7 +651,7 @@  discard block
 block discarded – undo
651 651
  * Stats Convert Chart URLs.
652 652
  *
653 653
  * @access public
654
- * @param mixed $html HTML.
654
+ * @param string $html HTML.
655 655
  * @return string
656 656
  */
657 657
 function stats_convert_chart_urls( $html ) {
Please login to merge, or discard this patch.
class.json-api.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -31,6 +31,9 @@  discard block
 block discarded – undo
31 31
 	public $did_output = false;
32 32
 
33 33
 	/**
34
+	 * @param string $method
35
+	 * @param string $url
36
+	 * @param string $post_body
34 37
 	 * @return WPCOM_JSON_API instance
35 38
 	 */
36 39
 	static function init( $method = null, $url = null, $post_body = null ) {
@@ -332,6 +335,9 @@  discard block
 block discarded – undo
332 335
 		return call_user_func_array( array( $endpoint, 'callback' ), $path_pieces );
333 336
 	}
334 337
 
338
+	/**
339
+	 * @param integer $status_code
340
+	 */
335 341
 	function output_early( $status_code, $response = null, $content_type = 'application/json' ) {
336 342
 		$exit = $this->exit;
337 343
 		$this->exit = false;
@@ -526,6 +532,9 @@  discard block
 block discarded – undo
526 532
 		return json_encode( $data );
527 533
 	}
528 534
 
535
+	/**
536
+	 * @param string $needle
537
+	 */
529 538
 	function ends_with( $haystack, $needle ) {
530 539
 		return $needle === substr( $haystack, -strlen( $needle ) );
531 540
 	}
@@ -553,6 +562,10 @@  discard block
 block discarded – undo
553 562
 	}
554 563
 
555 564
 	// Returns true if the specified blog ID is a restricted blog
565
+
566
+	/**
567
+	 * @param integer $blog_id
568
+	 */
556 569
 	function is_restricted_blog( $blog_id ) {
557 570
 		/**
558 571
 		 * Filters all REST API access and return a 403 unauthorized response for all Restricted blog IDs.
Please login to merge, or discard this patch.