Created
June 6, 2019 15:08
-
-
Save drzraf/f9f1bbbe0177be9ce78d344061a376a4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/includes/api/api-template.php b/includes/api/api-template.php | |
index bfd0fd2..259885c 100644 | |
--- a/includes/api/api-template.php | |
+++ b/includes/api/api-template.php | |
@@ -162,7 +162,7 @@ function get_field_object( $selector, $post_id = false, $format_value = true, $l | |
* @param $strict (boolean) if true, return a field only when a field key is found. | |
* @return $field (array) | |
*/ | |
-function acf_maybe_get_field( $selector, $post_id = false, $strict = true ) { | |
+function acf_maybe_get_field( $selector, $post_id = false, $strict = false ) { | |
// init | |
acf_init(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment