comic categories on fresh install are not being recognized if changed #47
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
functions.php is not recognizing the comic category as a comic category on a fresh install even though the comic category is set as comic the comic category the get_all_comic_categories_as_cat_string() is not sending the cats as per set unless storyline in comicpress manager is enabled.
So i'm thinking setting it up on init to find the option isn't enough, but whenever we change the category in comicpress options that it redo this routine:
so that it's rebuilt when category changes.
Since we need the tree of categories regardless of whether or not the storyline option is enabled, I'd rather the check for that option being enabled be removed where it's not absolutely necessary.
So basically we're not going to rebuild categories when storylines are off when they're changed in the comicpress options?
No, that's not what I said at all. What I said was that the "Enable Storyline Support" option in ComicPress Manager is now only used for enabling/disabling any theme UI components that need structured storyline support, as well as allowing the user to reorder categories as necessary. Your original explanation was unclear on this, and I apologize if my response wasn't clear enough.
I would rather do a proper course of debugging on the issue to see why it's not being set within the init section before you decide to run this routine twice, as any change to the comic category should correctly trigger the routine above.
OK, I've done the following:
Without touching the ComicPress Configuration screen, get_all_comic_categories_as_cat_string() returned:
Going straight to the ComicPress Options page, and changing the Comic category to the newly generated Comic category, get_all_comic_categories_as_cat_string() returned:
I'll need additional information to track down this issue, since I can't replicate it here.