Make WordPress Core

Opened 10 months ago

Closed 10 months ago

Last modified 8 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:

Description

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.


10 months ago
#1

  • Keywords has-patch added

@mukesh27 commented on PR #5821:


10 months ago
#2

After PR changes
https://i0.wp.com/github.com/WordPress/wordpress-develop/assets/10103365/5cd62d48-6ac6-49fe-ba69-03934b2be800

#3 @mukesh27
10 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
10 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:


10 months ago
#5

Thanks for the PR! Merged in r57229.

Note: See TracTickets for help on using tickets.