Opened 3 years ago
Closed 3 years ago
#58713 closed defect (bug) (fixed)
Backport: Update default templates info
| Reported by: | ntsekouras | Owned by: | isabel_brison |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.3 |
| Component: | Editor | Version: | |
| Severity: | normal | Keywords: | has-unit-tests |
| Cc: | Focuses: |
Description (last modified by )
We need to backport the recent changes from Gutenberg PRs: https://github.com/WordPress/gutenberg/pull/51428 and https://github.com/WordPress/gutenberg/pull/52048
Attachments (1)
Change History (11)
This ticket was mentioned in PR #4793 on WordPress/wordpress-develop by @ntsekouras.
3 years ago
#1
- Keywords has-patch has-unit-tests added
#5
@
3 years ago
- Keywords needs-patch added; has-patch removed
- Resolution fixed
- Status closed → reopened
The description for Author archives was updated in [56145] to :
Displays a single author\'s post archive. This template will serve as a fallback when a more a specific template (e.g., Author: Admin) cannot be found.
That seems to be incorrect, and should be something like this:
Displays a single author\'s post archive. This template will serve as a fallback when a more specific template (e.g., Author: Admin) cannot be found.
#6
@
3 years ago
- Resolution → fixed
- Status reopened → closed
Fixed by [56182] (forgot to fix the ticket directly in the commit).
#8
@
3 years ago
- Resolution fixed
- Status closed → reopened
Thanks for the commits!
It appears that there is now a minor inconsistency in the descriptions:
- Single Entries: Displays any single entry, such as a post or a page. This template will serve as a fallback when a more specific template (e.g., Single Post, Page, or Attachment) cannot be found.
- Author Archives: This template will serve as a fallback when a more specific template (e.g., Author: Admin) cannot be found.
- Category Archives: Displays a post category archive. This template will serve as a fallback when more specific template (e.g., Category: Recipes) cannot be found.
- Tag Archives: Displays a post tag archive. This template will serve as a fallback when more specific template (e.g., Tag: Pizza) cannot be found.
Note the lack of the "a" article in the latter two strings. It should probably be reinstated, see 58713.diff.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Trac ticket: https://core.trac.wordpress.org/ticket/58713
This PR back ports the changes from this Gutenberg PR: https://github.com/WordPress/gutenberg/pull/51428