Make WordPress Core

Opened 3 days ago

Last modified 2 days ago

#65940 accepted defect (bug)

Update outdated Chrome documentation link in WP_Site_Icon

Reported by: mayur8991 Owned by: audrasjb
Priority: normal Milestone: 7.2
Component: Administration Version:
Severity: normal Keywords: good-first-bug has-patch
Cc: Focuses: docs

Description

The WP_Site_Icon class contains a reference to an outdated Chrome documentation URL:

https://developer.chrome.com/multidevice/android/installtohomescreen

This URL is no longer available and returns an error when accessed.

The reference is located in wp-admin/includes/class-wp-site-icon.php in the comment for the 192px Android/Chrome site icon size:

@link https://developer.chrome.com/multidevice/android/installtohomescreen

The documentation reference was originally added to document Android/Chrome app icon support, but the linked Chrome documentation is no longer available at this location.

The outdated URL should be updated to an appropriate current Chrome/Android documentation reference, or removed if no suitable replacement exists.

Change History (4)

#2 @sabernhardt
3 days ago

  • Focuses docs added
  • Version trunk

[33202] added the links.

#32964 referred to the Icon section of that page, which listed old fallback options.

I think https://developer.chrome.com/blog/support-for-theme-color-in-chrome-39-for-android should replace this URL

The first link redirects to this URL now, and it shows the recommended <link> tag. It probably should replace both URLs in the comment.

#3 @audrasjb
2 days ago

  • Keywords good-first-bug added
  • Milestone Awaiting Review7.2
  • Owner set to audrasjb
  • Status newaccepted

This ticket was mentioned in PR #13239 on WordPress/wordpress-develop by @harishtewari.


2 days ago
#4

  • Keywords has-patch added; needs-patch removed

https://core.trac.wordpress.org/ticket/65940

Trac ticket:

## Use of AI Tools

Note: See TracTickets for help on using tickets.