Saving as draft creates new taxonomy instead of using taxonony namefrom dropdown

This topic contains 5 reply and 3 voices, and was last updated by Sekander Badsha 9 years, 6 months ago
Viewing 5 Posts - 1 through 5 (of 5 total)
Author Posts
September 30, 2014 at 11:43 pm 27825
Sekander Badsha Hey Guys, I have a form with a dropdown that shows a list of taxonomies Culinary Photography Painting Writing Cooking etc When a user fills out my form and and hits submit the taxonomy chosen from the dropdown works perfeclty. However when a user selects 'Save as Draft' the taxonomy name isn't used, the TERM ID is (as an example term ID: 81 Name: Culinary slug: culinary-arts What makes it even stranger is that the site takes the term ID and creates a new taxonomy for me using the ID - SO i get a new taxonomy entry in my DB with 'Term ID 110 Name: 81 Slug: 81' which is now selectable by all users in the original drop down. Seems to happen for all user types, including administrators. cheers kurtis
October 5, 2014 at 11:42 am 27979
Mahi Mahi

Hello Kurtis,

Sorry for late reply. Thank you for find out a bug. I forwarded this to dev team and will get an update after 11 October.

October 14, 2014 at 6:20 pm 28379
Sekander Badsha Sekander Badsha

Hello Kurtis,
I have tried several times to reproduce the issue but failed. I have saved this post a draft thrice each time with different category and content using the sample form http://demo.wedevs.com/wpuf/ami-aj-onek-dukkhito/

Nothing wrong happend any where. Please test on our demo server and confirm. You may also check for theme and plugin conflicts by disabling all other plugins except User Frontend Pro and switching to a default theme of WordPress like- Twenty Twelve and check and let me know.

Thank you.

October 14, 2014 at 7:30 pm 28385
Kurtis Kurtis This reply has been marked as private.
October 18, 2014 at 12:40 pm 28607
Sekander Badsha Sekander Badsha

Hello Kurtis,

I have logged in your site and done some tests. Looks like you have registered the custom taxonomy from your child theme and there must have been some fault on the code.

We do not provide support on the customization case, but I would ask @Tareq if he can find the fault and give you any solution. Please have patience.

Thank you 🙂

October 19, 2014 at 7:08 pm 28682
Sekander Badsha Sekander Badsha

Okay. I asked tareq today and he said it is happening because you have not set the taxonomy to be hierarchical. That is why the issue is happening. You have to set the taxonomy to be hierarchical. To understand better, you can see this example http://codex.wordpress.org/Function_Reference/register_taxonomy#Example

You will get an idea about what to write and where to write. Thank you 🙂

Viewing 5 Posts - 1 through 5 (of 5 total)