Completed
Push — add/masterbar-module ( f37d14...a8671e )
by
unknown
18:47 queued 09:06
created
modules/masterbar/masterbar.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -47,6 +47,9 @@  discard block
 block discarded – undo
47 47
 		return str_replace( '/', '::', $url );
48 48
 	}
49 49
 
50
+	/**
51
+	 * @param string $file
52
+	 */
50 53
 	function wpcom_static_url( $file ) {
51 54
 		$i   = hexdec( substr( md5( $file ), - 1 ) ) % 2;
52 55
 		$url = 'http://s' . $i . '.wp.com' . $file;
@@ -220,6 +223,9 @@  discard block
 block discarded – undo
220 223
 		return $primary_anchor . $secondary_anchor;
221 224
 	}
222 225
 
226
+	/**
227
+	 * @param string $class
228
+	 */
223 229
 	public function create_menu_item_anchor( $class, $url, $label, $id ) {
224 230
 		return '<a href="' . $url . '" class="' . $class . '" id="' . $id . '">' . $label . '</a>';
225 231
 	}
Please login to merge, or discard this patch.