Completed
Push — fix/jetpack-site-endpoint ( 1da352 )
by
unknown
10:26
created
modules/shortcodes.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,9 +102,9 @@
 block discarded – undo
102 102
  * Parameters are the same as preg_replace, with an added optional search param for improved performance
103 103
  *
104 104
  * @param String $pattern
105
- * @param String $replacement
106 105
  * @param String $content
107 106
  * @param String $search
107
+ * @param string $callback
108 108
  * @return String $content
109 109
  */
110 110
 function jetpack_preg_replace_callback_outside_tags( $pattern, $callback, $content, $search = null ) {
Please login to merge, or discard this patch.
sync/class.jetpack-sync-full.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -170,6 +170,12 @@  discard block
 block discarded – undo
170 170
 		$this->set_status( 'posts', 100 );
171 171
 	}
172 172
 
173
+	/**
174
+	 * @param string $action_name
175
+	 * @param string $id_field
176
+	 * @param string|null $where_sql
177
+	 * @param string $status_name
178
+	 */
173 179
 	private function enqueue_all_ids_as_action( $action_name, $table_name, $id_field, $where_sql, $status_name ) {
174 180
 		global $wpdb;
175 181
 
@@ -301,6 +307,9 @@  discard block
 block discarded – undo
301 307
 		return $args;
302 308
 	}
303 309
 
310
+	/**
311
+	 * @param string $meta_type
312
+	 */
304 313
 	private function get_metadata( $ids, $meta_type ) {
305 314
 		global $wpdb;
306 315
 		$table = _get_meta_table( $meta_type );
Please login to merge, or discard this patch.
sal/class.json-api-site-jetpack-base.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -4,16 +4,29 @@
 block discarded – undo
4 4
 require_once dirname( __FILE__ ) . '/class.json-api-site-base.php';
5 5
 
6 6
 abstract class Abstract_Jetpack_Site extends SAL_Site {
7
+
8
+	/**
9
+	 * @param string $name
10
+	 */
7 11
 	abstract protected function get_constant( $name );
8 12
 
13
+	/**
14
+	 * @param string $feature_name
15
+	 */
9 16
 	abstract protected function current_theme_supports( $feature_name );
10 17
 
18
+	/**
19
+	 * @param string $feature_name
20
+	 */
11 21
 	abstract protected function get_theme_support( $feature_name );
12 22
 
13 23
 	abstract protected function get_jetpack_version();
14 24
 
15 25
 	abstract protected function get_updates();
16 26
 
27
+	/**
28
+	 * @return string
29
+	 */
17 30
 	abstract protected function main_network_site();
18 31
 
19 32
 	abstract protected function wp_version();
Please login to merge, or discard this patch.