#51050 closed defect (bug) (fixed)
Docs: Add docblock for get_the_archive_title() filter
| Reported by: | justinahinon | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.5.1 |
| Component: | Themes | Version: | 5.5 |
| Severity: | minor | Keywords: | has-patch 2nd-opinion |
| Cc: | Focuses: | docs |
Description
In [48294] a span element was introduced to wrap around the get_the_archive_title() filter. Details for this changes is needed in the filter docblock.
Attachments (1)
Change History (8)
#2
follow-up:
↓ 5
@
6 years ago
- Focuses template removed
- Keywords 2nd-opinion added
- Milestone 5.5.1 → Awaiting Review
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Thanks for opening the ticket, @justinahinon,
By the way, this filter is actually properly documented: https://developer.wordpress.org/reference/hooks/get_the_archive_title/
"@since 5.5.0 Added the
$prefixand$original_titleparameters."I guess you're rather talking about
get_the_archive_titlefunction.In 51050.diff, I added an @since mention, but not completely sure it's necessary as the filter is already documented. I'd defer on @SergeyBiryukov ’s judgement for that :)