Completed
Push — update/5.4-changelog ( eddd9e...9ff665 )
by Jeremy
11:34 queued 03:51
created
json-endpoints/class.wpcom-json-api-site-user-endpoint.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -63,6 +63,7 @@
 block discarded – undo
63 63
 	/**
64 64
 	 * Updates user data
65 65
 	 *
66
+	 * @param integer $user_id
66 67
 	 * @return array
67 68
 	 */
68 69
 	public function update_user( $user_id, $blog_id ) {
Please login to merge, or discard this patch.
class.jetpack-xmlrpc-server.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -242,6 +242,7 @@
 block discarded – undo
242 242
 	/**
243 243
 	 * Returns the current error as an IXR_Error
244 244
 	 *
245
+	 * @param string $tracks_event_name
245 246
 	 * @return bool|IXR_Error
246 247
 	 */
247 248
 	function error( $error = null, $tracks_event_name = null, $user = null ) {
Please login to merge, or discard this patch.
modules/masterbar/masterbar.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -125,6 +125,9 @@  discard block
 block discarded – undo
125 125
 		wp_enqueue_script( 'a8c_wpcom_masterbar_overrides', $this->wpcom_static_url( '/wp-content/mu-plugins/admin-bar/masterbar-overrides/masterbar.js' ), array( 'jquery' ), JETPACK__VERSION );
126 126
 	}
127 127
 
128
+	/**
129
+	 * @param string $file
130
+	 */
128 131
 	function wpcom_static_url( $file ) {
129 132
 		if ( ! empty( $this->sandbox_url ) ) {
130 133
 			// For testing undeployed changes to remotely enqueued scripts and styles.
@@ -307,6 +310,9 @@  discard block
 block discarded – undo
307 310
 		return $primary_anchor . $secondary_anchor;
308 311
 	}
309 312
 
313
+	/**
314
+	 * @param string $class
315
+	 */
310 316
 	public function create_menu_item_anchor( $class, $url, $label, $id ) {
311 317
 		return '<a href="' . $url . '" class="' . $class . '" id="' . $id . '">' . $label . '</a>';
312 318
 	}
Please login to merge, or discard this patch.
json-endpoints/class.wpcom-json-api-update-term-endpoint.php 1 patch
Doc Comments   +17 added lines patch added patch discarded remove patch
@@ -115,6 +115,11 @@  discard block
 block discarded – undo
115 115
 	}
116 116
 
117 117
 	// /sites/%s/taxonomies/%s/terms/new -> $blog_id, $taxonomy
118
+
119
+	/**
120
+	 * @param string $path
121
+	 * @param string $taxonomy
122
+	 */
118 123
 	function new_term( $path, $blog_id, $taxonomy ) {
119 124
 		$args = $this->query_args();
120 125
 		$input = $this->input();
@@ -160,6 +165,12 @@  discard block
 block discarded – undo
160 165
 	}
161 166
 
162 167
 	// /sites/%s/taxonomies/%s/terms/slug:%s -> $blog_id, $taxonomy, $slug
168
+
169
+	/**
170
+	 * @param string $path
171
+	 * @param string $slug
172
+	 * @param string $taxonomy
173
+	 */
163 174
 	function update_term( $path, $blog_id, $slug, $taxonomy ) {
164 175
 		$tax = get_taxonomy( $taxonomy );
165 176
 		if ( ! current_user_can( $tax->cap->edit_terms ) ) {
@@ -208,6 +219,12 @@  discard block
 block discarded – undo
208 219
 	}
209 220
 
210 221
 	// /sites/%s/taxonomies/%s/terms/slug:%s/delete -> $blog_id, $taxonomy, $slug
222
+
223
+	/**
224
+	 * @param string $path
225
+	 * @param string $slug
226
+	 * @param string $taxonomy
227
+	 */
211 228
 	function delete_term( $path, $blog_id, $slug, $taxonomy ) {
212 229
 		$term = get_term_by( 'slug', $slug, $taxonomy );
213 230
 		$tax = get_taxonomy( $taxonomy );
Please login to merge, or discard this patch.