Completed
Push — add/changelog-48 ( 4f7fb2...3c4613 )
by Jeremy
20:20 queued 09:26
created
modules/masterbar/masterbar.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -80,6 +80,9 @@  discard block
 block discarded – undo
80 80
 		wp_enqueue_script( 'a8c_wpcom_masterbar_overrides', $this->wpcom_static_url( '/wp-content/mu-plugins/admin-bar/masterbar-overrides/masterbar.js' ) );
81 81
 	}
82 82
 
83
+	/**
84
+	 * @param string $file
85
+	 */
83 86
 	function wpcom_static_url( $file ) {
84 87
 		$i   = hexdec( substr( md5( $file ), - 1 ) ) % 2;
85 88
 		$url = 'https://s' . $i . '.wp.com' . $file;
@@ -255,6 +258,9 @@  discard block
 block discarded – undo
255 258
 		return $primary_anchor . $secondary_anchor;
256 259
 	}
257 260
 
261
+	/**
262
+	 * @param string $class
263
+	 */
258 264
 	public function create_menu_item_anchor( $class, $url, $label, $id ) {
259 265
 		return '<a href="' . $url . '" class="' . $class . '" id="' . $id . '">' . $label . '</a>';
260 266
 	}
Please login to merge, or discard this patch.