Skip to content

issue with _ in post type #40

@jennafarr

Description

@jennafarr

Thank you for this simple solution. It has worked very well however there is an issue with the display of the calendar when the post type has an _ in the name. I was able to trace the issue to this after seeing it work on other post types. Then I created another one with an _ in the name and could replicate the issue. Our example post type is day_camp and I am using the following snippet in functions:

$types = array( 'run', 'program', 'day_camp', 'home_slide' );
foreach( $types as $type ) {
	add_post_type_support( $type, 'unpublish' );
}

I've attached the screenshot displaying the behavior on that post type. I am not seeing any console errors, just the odd layout issue.
Screen Shot 2020-11-16 at 2 34 39 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions