Completed
Push — fix/masterbar-flash-bug ( 9a56b4 )
by
unknown
26:01 queued 05:12
created
modules/masterbar/masterbar.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -99,6 +99,9 @@  discard block
 block discarded – undo
99 99
 		wp_enqueue_script( 'a8c_wpcom_masterbar_overrides', $this->wpcom_static_url( '/wp-content/mu-plugins/admin-bar/masterbar-overrides/masterbar.js' ) );
100 100
 	}
101 101
 
102
+	/**
103
+	 * @param string $file
104
+	 */
102 105
 	function wpcom_static_url( $file ) {
103 106
 		if ( ! empty( $this->sandbox_url ) ) {
104 107
 			return set_url_scheme( $this->sandbox_url . $file, 'https' );
@@ -280,6 +283,9 @@  discard block
 block discarded – undo
280 283
 		return $primary_anchor . $secondary_anchor;
281 284
 	}
282 285
 
286
+	/**
287
+	 * @param string $class
288
+	 */
283 289
 	public function create_menu_item_anchor( $class, $url, $label, $id ) {
284 290
 		return '<a href="' . $url . '" class="' . $class . '" id="' . $id . '">' . $label . '</a>';
285 291
 	}
Please login to merge, or discard this patch.