Completed
Push — add/sal-post ( 86e404...770b13 )
by
unknown
09:04
created
json-endpoints/class.wpcom-json-api-post-v1-1-endpoint.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -120,6 +120,11 @@  discard block
 block discarded – undo
120 120
 		return $response;
121 121
 	}
122 122
 
123
+	/**
124
+	 * @param string $field
125
+	 * @param string $field_value
126
+	 * @param string $context
127
+	 */
123 128
 	protected function get_sal_post_by( $field, $field_value, $context ) {
124 129
 		global $blog_id;
125 130
 
@@ -132,6 +137,9 @@  discard block
 block discarded – undo
132 137
 		return $post;
133 138
 	}
134 139
 
140
+	/**
141
+	 * @param string $context
142
+	 */
135 143
 	private function render_response_keys( $post, $context, $keys ) {
136 144
 		foreach ( $keys as $key ) {
137 145
 			switch ( $key ) {
Please login to merge, or discard this patch.