Completed
Push — update/masterbar-add-sandbox-t... ( 6624cc )
by
unknown
403:53 queued 394:04
created
modules/masterbar/masterbar.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -113,6 +113,9 @@  discard block
 block discarded – undo
113 113
 		wp_enqueue_script( 'a8c_wpcom_masterbar_overrides', $this->wpcom_static_url( '/wp-content/mu-plugins/admin-bar/masterbar-overrides/masterbar.js' ) );
114 114
 	}
115 115
 
116
+	/**
117
+	 * @param string $file
118
+	 */
116 119
 	function wpcom_static_url( $file ) {
117 120
 		if ( ! empty( $this->sandbox_url ) ) {
118 121
 			// For testing undeployed changes to remotely enqueued scripts and styles.
@@ -295,6 +298,9 @@  discard block
 block discarded – undo
295 298
 		return $primary_anchor . $secondary_anchor;
296 299
 	}
297 300
 
301
+	/**
302
+	 * @param string $class
303
+	 */
298 304
 	public function create_menu_item_anchor( $class, $url, $label, $id ) {
299 305
 		return '<a href="' . $url . '" class="' . $class . '" id="' . $id . '">' . $label . '</a>';
300 306
 	}
Please login to merge, or discard this patch.