Permalink
Browse files

Merge pull request #1 from crowdfavorite/get_meta-default-null

Set default for meta_key to match core default parameters when callin…
  • Loading branch information...
2 parents a37b081 + 5e82823 commit 0aae28f27ffa87a243be7886aae84c5be0010232 @StephenMurphy StephenMurphy committed Jul 21, 2015
Showing with 1 addition and 1 deletion.
  1. +1 −1 cf-tax-post-binding.php
View
@@ -19,7 +19,7 @@ function cftpb_get_post($term_id, $taxonomy) {
return cf_taxonomy_post_type_binding::get_term_post($term_id, $taxonomy);
}
-function cftpb_get_term_meta($term_id, $taxonomy, $meta_key, $single = false) {
+function cftpb_get_term_meta($term_id, $taxonomy, $meta_key = null, $single = false) {
$return_val = '';
$term_post = cf_taxonomy_post_type_binding::get_term_post($term_id, $taxonomy);
if (!empty($term_post) && !is_wp_error($term_post)) {

0 comments on commit 0aae28f

Please sign in to comment.