[wp-trac] [WordPress Trac] #52743: Hardcoded SVG image URLs on WP 5.7 About screen.

WordPress Trac noreply at wordpress.org
Tue Mar 9 21:57:24 UTC 2021

#52743: Hardcoded SVG image URLs on WP 5.7 About screen.
 Reporter:  TobiasBg      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  5.7.1
Component:  Help/About    |    Version:  5.7
 Severity:  normal        |   Keywords:  needs-patch
  Focuses:                |
 Whereas the WP 5.7 About screen, as usual, offloads JPGs and MP4s to the
 wp.org CDN, 3 SVG images (`/wp-admin/images/about-badge.svg`, `/wp-
 admin/images/about-color-palette-vert.svg`, `/wp-admin/images/about-color-
 palette.svg`) are embedded in the package.

 However, these are loaded from hardcoded relative URLs (relative to `wp-
 admin/about.php` when going to `example.org/wp-admin/about.php`). Due to
 that, these images are not shown when accessing the About screen from the
 About screen in the Network Admin (i.e. via `example.org/wp-

 The hardcoded URLs should probably be replaced by calls to
 `network_admin_url()` or similar.

Ticket URL: <https://core.trac.wordpress.org/ticket/52743>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list