Make WordPress Core

Opened 5 months ago

Closed 5 months ago

Last modified 3 months ago

#60083 closed defect (bug) (fixed)

Twenty Twenty-Four: Use strict title case in custom template names

Reported by: wildworks's profile wildworks Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 6.5 Priority: normal
Severity: normal Version: 6.4
Component: Bundled Theme Keywords: has-patch commit
Focuses: Cc:


There appears to be variation in the title case rules for the template names defined in customTemplates of theme.json.

I suggest changing it as follows.

  • Page No Title
  • Page With Sidebar > Page with Sidebar
  • Page with wide Image > Page with Wide Image
  • Single with Sidebar

Change History (5)

This ticket was mentioned in PR #5821 on WordPress/wordpress-develop by @wildworks.

5 months ago

  • Keywords has-patch added

@mukesh27 commented on PR #5821:

5 months ago

After PR changes

#3 @mukesh27
5 months ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to 6.5
  • Version set to 6.4

Mark for commit

@SergeyBiryukov could you please take a look when you get some moments. Thanks!

#4 @SergeyBiryukov
5 months ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 57229:

Twenty Twenty-Four: Use consistent title case in custom template names.

Follow-up to [56716].

Props wildworks, mukesh27.
Fixes #60083.

@SergeyBiryukov commented on PR #5821:

5 months ago

Thanks for the PR! Merged in r57229.

Note: See TracTickets for help on using tickets.