Completed
Push — fix/add-cache-buster-for-maste... ( d1ee0c )
by
unknown
11:21
created
modules/masterbar/masterbar.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -111,6 +111,9 @@  discard block
 block discarded – undo
111 111
 		wp_enqueue_script( 'a8c_wpcom_masterbar_overrides', $this->wpcom_static_url( '/wp-content/mu-plugins/admin-bar/masterbar-overrides/masterbar.js' ), '20170630' );
112 112
 	}
113 113
 
114
+	/**
115
+	 * @param string $file
116
+	 */
114 117
 	function wpcom_static_url( $file ) {
115 118
 		if ( ! empty( $this->sandbox_url ) ) {
116 119
 			// For testing undeployed changes to remotely enqueued scripts and styles.
@@ -293,6 +296,9 @@  discard block
 block discarded – undo
293 296
 		return $primary_anchor . $secondary_anchor;
294 297
 	}
295 298
 
299
+	/**
300
+	 * @param string $class
301
+	 */
296 302
 	public function create_menu_item_anchor( $class, $url, $label, $id ) {
297 303
 		return '<a href="' . $url . '" class="' . $class . '" id="' . $id . '">' . $label . '</a>';
298 304
 	}
Please login to merge, or discard this patch.