• Resolved imincognito

    (@imincognito)


    I had a taxonomy ABC that was created in CPT-UI.

    – it appears in TaxoPress and is flagged as a taxonomy not created by TaxoPress.

    I deleted ABC from CPT-UI.

    – it still appears in TaxoPress.

    Is there any way to completely delete it?

    Thx

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter imincognito

    (@imincognito)

    Update:

    When I delete taxonomy ABC from CPT-UI, there are no more ABC records in:

    – term_taxonomy
    – terms
    – term_relationships

    So can I ask – where is TaxoPress maintaining its list of taxonomies?

    Thread Starter imincognito

    (@imincognito)

    Here’s your problem:

    At some point when TaxoPress is initialized, it gathers a list of existing taxonomies and updates taxopress_external_taxonomies in the WP options table.
    – I’m not sure when and where this happens, but I’d like to know.

    But when those external taxonomies are deleted, TaxoPress doesn’t update the list taxopress_external_taxonomies.
    – Since the event is external to TaxoPress, there needs to be a manual function on your side to refresh taxopress_external_taxonomies or somehow update it.
    – I’m a little skittish about manually modifying the serialized data in taxopress_external_taxonomies.

    Questions
    1. Can you pls confirm that this assessment is correct?

    2. Can you pls advise if there is an existing function to refresh taxopress_external_taxonomies?

    3. If not, what is the recommended workaround, other than de-activating the taxonomy in TaxoPress (which doesn’t seem like a great idea, since I’m sure de-activating a external taxonomy that still exists in another plugin.

    Plugin Author Steve Burge

    (@stevejburge)

    Hi @imincognito

    Sorry, we can’t recreate this behavior in our testing.

    Taxonomies created and then deleted in CPT UI do not appear to remain in TaxoPress.

    If you still see this happening, please file a Github issue here with all the details needed for someone else to replicate the problem:
    https://github.com/TaxoPress/TaxoPress/issues

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Taxonomy Created by CPT-UI – Can’t Delete from TaxoPress’ is closed to new replies.