Completed
Push — develop ( 488d60...36a6ed )
by Zack
20:06
created
includes/extensions/edit-entry/class-edit-entry-render.php 1 patch
Doc Comments   +1 added lines, -6 removed lines patch added patch discarded remove patch
@@ -2037,9 +2037,4 @@
 block discarded – undo
2037 2037
 			return implode( ',', $maybe_json );
2038 2038
 		}
2039 2039
 
2040
-		return $field_value;
2041
-	}
2042
-
2043
-
2044
-
2045
-} //end class
2040
+		return $field_value
2046 2041
\ No newline at end of file
Please login to merge, or discard this patch.
includes/helper-functions.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
  *
75 75
  * We could do this in a cleaner fashion, but this prevents a lot of code duplication, checking for URL structure, etc.
76 76
  *
77
- * @param int|WP_Post $id        Optional. Post ID or post object. Default current post.
77
+ * @param integer $id        Optional. Post ID or post object. Default current post.
78 78
  *
79 79
  * @return array URL args, if exists. Empty array if not.
80 80
  */
@@ -358,7 +358,6 @@  discard block
 block discarded – undo
358 358
  * Do a _very_ basic match for second-level TLD domains, like `.co.uk`
359 359
  *
360 360
  * Ideally, we'd use https://github.com/jeremykendall/php-domain-parser to check for this, but it's too much work for such a basic functionality. Maybe if it's needed more in the future. So instead, we use [Basic matching regex](http://stackoverflow.com/a/12372310).
361
- * @param  string $domain Domain to check if it's a TLD or subdomain
362 361
  * @return string         Extracted domain if it has a subdomain
363 362
  */
364 363
 function _gravityview_strip_subdomain( $string_maybe_has_subdomain ) {
Please login to merge, or discard this patch.
includes/widgets/search-widget/class-search-widget.php 1 patch
Doc Comments   +1 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1372,11 +1372,4 @@
 block discarded – undo
1372 1372
 		 */
1373 1373
 		$datepicker_class = apply_filters( 'gravityview_search_datepicker_class', 'gv-datepicker datepicker mdy' );
1374 1374
 
1375
-		$gravityview_view->datepicker_class = $datepicker_class;
1376
-
1377
-	}
1378
-
1379
-
1380
-} // end class
1381
-
1382
-new GravityView_Widget_Search;
1375
+		$gravityview_view->datepicker_class = $datepicker_class
1383 1376
\ No newline at end of file
Please login to merge, or discard this patch.