Bug or something with Ultimate fields and Ultimate Post type
-
I am using Ultimate Post type with Ultimate fields, and trying to add repeated fields in my custom post type.
Inside repeated fields, I am inserting my custom taxanomy dropdown using taxonomy select.
But there is an error occurs when I saving the post:
“Invalid taxonomy! Please check if you’ve spelled the name of the taxonomy correctly and that the taxonomy is already registered!”When I looked ultimate-fields/classes/UF_Select_Term.php file’s 9th line, there was a function named set_taxonomy. I changed function to this and it worked.
`function set_taxonomy( $taxonomy ) {
//return $this;
//if(!taxonomy_exists($taxonomy)) {
// uf_die( __(“UF_Field_Select_Term: Invalid taxonomy! Please check if you’ve spelled the name of the taxonomy correctly and that the taxonomy is already registered!”, ‘uf’) );
//}
$this->taxonomy = $taxonomy;return $this;
}If I’m not wrong, this function is working fine on native taxonomies, but not working even I created and checked custom taxonomy term.
Please review it thanks, also please let me know how can I purchase premium version of Ultimate fields plugin.
Kind Regards
The topic ‘Bug or something with Ultimate fields and Ultimate Post type’ is closed to new replies.