• Resolved sunnyt13

    (@sunnyt13)


    Hey there ??

    I have a CPT with a custom taxonomy, and in the taxonomy, I specified a default term.

    Everything almost works as expected. Whenever I create a new post or update an existing post without any taxonomy term selected, it correctly adds the specified default taxonomy.

    If I edit the post to unselect the default taxonomy and select a different one, it also works.

    However, I run into an issue when I bulk edit my posts. When I click bulk edit, all taxonomy terms of course appear initially unselected. If I select a term that isn’t the default, the default term still gets added once I hit Update.

    Is there any way around this?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Hmm,

    Honestly the first time I’ve ever seen or heard of this issue. I also have to lean towards possibly a core bug/oddity/etc, rather than something CPTUI is doing. We’re definitely providing a way to specify a default term, but not behavior in any way after the registration.

    Not really sure what to suggest overall for it, to be honest.

    Thread Starter sunnyt13

    (@sunnyt13)

    Hey Michael,

    Here’s a quick run through I did on a test site (no audio): https://www.loom.com/share/c7df5fead78243c58b90c7ce733a0e2c

    The bevaviour even seemed a little unpredictable for me there as you’ll notice.

    Not really sure if this is a CPTUI or a WordPress thing either.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Definitely unpredictable and understandable reaction to it. I just don’t have an answer for what to do about it. We don’t do anything special in this area, as ultimately we’re just a UI to collect the arguments for register_post_type and register_taxonomy.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Bulk editing and default terms?’ is closed to new replies.