Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue/248 - CPT/Taxos: unwind deep integration. #255

Draft
wants to merge 2 commits into
base: release/2.3.0
Choose a base branch
from

Conversation

JJJ
Copy link
Contributor

@JJJ JJJ commented Mar 9, 2022

This was only partially working, and after further review was a bit too aggressive with everything that it attempted to rearrange.

This commit introduces sugar_calendar_admin_is_assets_page() and sugar_calendar_is_supported_type() helper functions, and uses them where helpful.

This PR removes the way that supported post types (other than "sc_events") would be redirected to the main admin area calendar. It will soon explore a better way.

See #248

This was only partially working, and after further review was a bit too aggressive with everything that it attempted to rearrange.

This commit introduces sugar_calendar_admin_is_assets_page() and sugar_calendar_is_supported_type() helper functions, and uses them where helpful.

This change removes the way that supported post types (other than "sc_events") would be redirected to the main admin area calendar.
@JJJ JJJ linked an issue Mar 9, 2022 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow custom post types with custom taxonomies to work as events
1 participant