Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#56805 closed defect (bug) (fixed)

Fix docblock for site_status_page_cache_supported_cache_headers filter

Reported by: skithund's profile skithund Owned by: audrasjb's profile audrasjb
Milestone: 6.1 Priority: normal
Severity: normal Version: 6.1
Component: Site Health Keywords: has-patch commit
Focuses: docs Cc:

Description

DocBlock has @param int even though the parameter is an array.

Change History (6)

This ticket was mentioned in PR #3444 on WordPress/wordpress-develop by todeveni.


2 years ago
#1

  • Keywords has-patch added

Fix param type from int to array in site_status_page_cache_supported_cache_headers filter.

Trac ticket: https://core.trac.wordpress.org/ticket/56805

#2 @costdev
2 years ago

  • Focuses docs added
  • Keywords commit added
  • Milestone changed from Awaiting Review to 6.1

@skithund Nicely spotted! Milestoned for 6.1 as this is when the filter was introduced.

The PR looks good to me. Adding for commit consideration.

#3 @audrasjb
2 years ago

  • Owner set to audrasjb
  • Status changed from new to accepted

Thanks! Self-assigning for commit.

#4 @audrasjb
2 years ago

  • Resolution set to fixed
  • Status changed from accepted to closed

In 54506:

Docs: Fix $cache_headers param type in site_status_page_cache_supported_cache_headers.

Follow-up to [54043].

Props skithund.
Fixes #56805.
See #55646.

Note: See TracTickets for help on using tickets.