[wp-trac] [WordPress Trac] #59422: Custom Post Type name with hyphen does not with custom single post template

WordPress Trac noreply at wordpress.org
Thu Sep 21 08:34:27 UTC 2023


#59422: Custom Post Type name with hyphen does not with custom single post template
--------------------------+------------------------------
 Reporter:  htung         |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Themes        |     Version:  6.3.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  template
--------------------------+------------------------------

Comment (by faisal03):

 @htung Thanks for the report.

 Using a different character, such as a normal hyphen "-" or a longer one
 "—" could potentially lead to issues. Can you please double-check and make
 sure you are using the normal hyphen?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59422#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list