Changes between Version 5 and Version 6 of Ticket #60620
- Timestamp:
- 02/23/2024 10:11:54 AM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #60620 – Description
v5 v6 3 3 This PR removes the pattern from the home template and instead replaces it directly with its contents. 4 4 5 This was introduced in [ this PR](https://github.com/WordPress/twentytwentyfour/pull/486). Creating the pattern was needed to solve what the PR was stating (we need the Home Business pattern to show on the template replacement flows) but we don't need to use it in the template, and the code repetition (which is minor) is better than having to do a an extra pattern replacement.5 This was introduced in [https://github.com/WordPress/twentytwentyfour/pull/486 this PR]. Creating the pattern was needed to solve what the PR was stating (we need the Home Business pattern to show on the template replacement flows) but we don't need to use it in the template, and the code repetition (which is minor) is better than having to do a an extra pattern replacement. 6 6 7 7 To test this PR, check that the home page is unchanged and that creating a new template still shows the home page pattern (by creating a template for the front page, for example)