Completed
Push — add/changelog-48 ( 0d7bfd...4ce586 )
by Jeremy
177:49 queued 169:00
created
_inc/lib/class.core-rest-api-endpoints.php 1 patch
Doc Comments   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -536,7 +536,6 @@  discard block
 block discarded – undo
536 536
 	 * @uses Jetpack::disconnect();
537 537
 	 * @since 4.3.0
538 538
 	 *
539
-	 * @param WP_REST_Request $request The request sent to the WP REST API.
540 539
 	 *
541 540
 	 * @return string|WP_Error A raw URL if the connection URL could be built; error message otherwise.
542 541
 	 */
@@ -556,7 +555,6 @@  discard block
 block discarded – undo
556 555
 	 *
557 556
 	 * @since 4.3.0
558 557
 	 *
559
-	 * @param WP_REST_Request $request The request sent to the WP REST API.
560 558
 	 *
561 559
 	 * @return object
562 560
 	 */
@@ -1973,7 +1971,7 @@  discard block
 block discarded – undo
1973 1971
 	 *
1974 1972
 	 * @param string $route Regular expression for the endpoint with the module slug to return.
1975 1973
 	 *
1976
-	 * @return array
1974
+	 * @return string
1977 1975
 	 */
1978 1976
 	public static function get_module_requested( $route = '/module/(?P<slug>[a-z\-]+)' ) {
1979 1977
 
@@ -1998,7 +1996,7 @@  discard block
 block discarded – undo
1998 1996
 	 * @param string      $modules Can be a single module or a list of modules.
1999 1997
 	 * @param null|string $slug    Slug of the module in the first parameter.
2000 1998
 	 *
2001
-	 * @return array
1999
+	 * @return string
2002 2000
 	 */
2003 2001
 	public static function prepare_modules_for_response( $modules = '', $slug = null ) {
2004 2002
 		global $wp_rewrite;
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
@@ -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.