Completed
Push — update/api-get-site-endpoint ( 87e1bc )
by
unknown
09:51
created
sal/class.json-api-platform-jetpack.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -1,6 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 class WPORG_Platform extends SAL_Platform {
4
+
5
+	/**
6
+	 * @param integer $blog_id
7
+	 */
4 8
 	static function get_site( $blog_id ) {
5 9
 		require_once dirname( __FILE__ ) . '/class.json-api-site-jetpack.php';
6 10
 		return new Jetpack_Site( $blog_id );
Please login to merge, or discard this patch.
sal/class.json-api-site-jetpack-base.php 1 patch
Doc Comments   +18 added lines patch added patch discarded remove patch
@@ -4,9 +4,27 @@
 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 );
12
+
13
+	/**
14
+	 * @param string $feature_name
15
+	 */
8 16
 	abstract protected function current_theme_supports( $feature_name );
17
+
18
+	/**
19
+	 * @param string $feature_name
20
+	 */
9 21
 	abstract protected function get_theme_support( $feature_name );
22
+
23
+	/**
24
+	 * @param string $name
25
+	 *
26
+	 * @return string
27
+	 */
10 28
 	abstract protected function get_mock_option( $name );
11 29
 	abstract protected function get_jetpack_version();
12 30
 
Please login to merge, or discard this patch.
sal/class.json-api-site-jetpack.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -1,6 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 class WPORG_Platform extends SAL_Platform {
4
+
5
+	/**
6
+	 * @param integer $blog_id
7
+	 */
4 8
 	static function get_site( $blog_id ) {
5 9
 		require_once dirname( __FILE__ ) . '/class.json-api-site-jetpack.php';
6 10
 		return new Jetpack_Site( $blog_id );
Please login to merge, or discard this patch.