• Resolved riccardolinares

    (@riccardolinares)


    Hi. I created a Taxonomy with the slug “status” and now I have big problems because it goes in conflict with the wp “status” of the posts.

    If I delete the taxonomy the website has problems with everything.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter riccardolinares

    (@riccardolinares)

    To explain it better: I created a taxonomy with a reserved slug (“status”). I would like to revert this action without broking everything.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Should be able to just delete the taxonomy from the CPTUI settings and hopefully everything would fall back into place.

    Is that not the case right now?

    Thread Starter riccardolinares

    (@riccardolinares)

    I tried on my staging website, but it break everything:/

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    So the current status is, that you registered the taxonomy with CPTUI, it broke stuff, you deleted the taxonomy from CPTUI settings, and things are still broke afterwards?

    Just in case, were you trying any other taxonomy registration beforehand without CPTUI that may have been forgotten about, but attempting with the same slugs?

    Also a slight long shot, but maybe delete any terms that got created for your version of the status taxonomy.

    Thread Starter riccardolinares

    (@riccardolinares)

    1. I created “status” taxonomy
    2. It broke the WP rest api (when publishing from the rest api the “status” is for publish, draft, private etc.)
    3. I tried to delete the taxonomy
    4. It broke the entire site

    I am not using any other plugin for taxonomy registration.
    I delete every registration made for that taxonomy.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Not sure what to suggest at this point especially if every trace of a “status” taxonomy has been removed from CPTUI’s settings and whatnot. It’s extremely odd that things are still lingering afterwards, if not even more dire of a situation. I would think the removal of the extra registration would have things fall back into place afterwards.

    Just for my knowledge, especially if I try to recreate in some way locally, in what ways is “it broke the entire site” ? Like white screen? Issues with creating posts of any type? If yes what errors specifically? stuff like that.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Looking at https://developer.ww.wp.xz.cn/reference/functions/register_taxonomy/#reserved-terms, “status” is a reserved slug so as part of this all, CPTUI should mark ti as a disallowed value.

    Thread Starter riccardolinares

    (@riccardolinares)

    It should, but it doesn’t actually… I created it

    Thread Starter riccardolinares

    (@riccardolinares)

    It seems like the css are not anymore linked correctly

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    got any public links I could look at for that part?

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    did this ever get resolved in the end @riccardolinares ?

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Taxonomy “Status”’ is closed to new replies.