Opened 7 weeks ago
Closed 5 weeks ago
#64366 closed defect (bug) (fixed)
Docs: Replace @since x.y.z with actual version number
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 6.9.1 | Priority: | normal |
| Severity: | minor | Version: | 6.9 |
| Component: | Role/Capability | Keywords: | good-first-bug has-patch fixed-major dev-reviewed |
| Focuses: | docs, coding-standards | Cc: |
Description (last modified by )
Attachments (1)
Change History (15)
#2
@
7 weeks ago
- Milestone changed from Awaiting Review to 6.9.1
- Type changed from enhancement to defect (bug)
#4
@
7 weeks ago
- Keywords has-patch added; needs-patch removed
Title:
Docs: Replace placeholder @since x.y.z with actual version numbers
Description:
Updated documentation comments by replacing all placeholder @since x.y.z tags with the correct released version numbers. This ensures consistency across the docs and improves clarity for users referencing version-specific features.
This ticket was mentioned in PR #10605 on WordPress/wordpress-develop by @solankisoftware.
7 weeks ago
#5
This PR replaces placeholder @since x.y.z tags with the accurate version number 6.9.0 in:
- wp-includes/class-wp-roles.php
- wp-includes/capabilities.php
These updates follow WordPress documentation standards and align with Core ticket #64366.
Trac ticket: https://core.trac.wordpress.org/ticket/64366
Fixes #64366.
#9
@
7 weeks ago
- Keywords fixed-major added
- Resolution fixed deleted
- Status changed from closed to reopened
Re-opening for 6.9.1 backport.
This ticket was mentioned in PR #10606 on WordPress/wordpress-develop by @solankisoftware.
7 weeks ago
#11
Trac Ticket: https://core.trac.wordpress.org/ticket/64366
This PR enhances the WordPress Site Health page cache test by introducing
a robust cache header detection mechanism. The previous method could
produce false positives or negatives depending on the caching system used.
Changes include:
- Added detect_cache_headers() method for strict, case-insensitive header matching
- Improved support for common cache headers (x-cache, x-cache-status, cf-cache-status, x-litespeed-cache, x-varnish, etc.)
- Updated get_test_page_cache() to use detect_cache_headers()
- Prevents false positives when unrelated text contains words like "HIT" or "MISS"
Testing:
- Enable any caching layer (Varnish, NGINX fastcgi_cache, Cloudflare, LiteSpeed, host-level caching)
- Go to Tools → Site Health → Status
- Verify that page cache detection reflects the real server cache status
This PR is backward compatible and does not change existing Site Health UI behavior.
Fix :: Docs: Replace @since x.y.z with actual version number