Make WordPress Core

Opened 11 hours ago

Last modified 9 hours ago

#65352 new defect (bug)

network credit.php header logo for WordPress 7.0 showing broken

Reported by: umeshnevase's profile umesh.nevase Owned by:
Milestone: 7.0.1 Priority: normal
Severity: normal Version: 7.0
Component: Help/About Keywords: good-first-bug has-patch
Focuses: ui, multisite Cc:

Description

After upgrading the network site to WordPress 7.0, I visited credits.php, other pages and noticed that the header logo for WordPress 7.0 is broken on the following network admin pages:

  • wp-admin/network/credits.php
  • wp-admin/network/freedoms.php
  • wp-admin/network/privacy.php
  • wp-admin/network/contribute.php

The logo is not included on wp-admin/network/about.php but included on the other pages.

Attachments (1)

missing-logo.png (768.5 KB) - added by umesh.nevase 11 hours ago.
Broken logo on pages

Download all attachments as: .zip

Change History (3)

@umesh.nevase
11 hours ago

Broken logo on pages

#1 @sabernhardt
9 hours ago

  • Component changed from Networks and Sites to Help/About
  • Focuses accessibility removed
  • Keywords needs-patch good-first-bug added
  • Milestone changed from Awaiting Review to 7.0.1

Each of these four pages has a relative reference to the logo, which displays on single-site installations but not multisite.

src="images/about-release-logo.svg?ver=7.0"

Other images use admin_url():

<img src="<?php echo esc_url( admin_url( 'images/about-release-logo.svg?ver=7.0' ) ); ?>" alt="<?php echo esc_attr( $header_alt_text ); ?>" />

This ticket was mentioned in PR #11980 on WordPress/wordpress-develop by @umesh.nevase.


9 hours ago
#2

  • Keywords has-patch added; needs-patch removed

This PR fixes logo showing broken on about subpages on multisite.
The path was static to image, This PR change the path to image to dynamic.

Trac ticket: https://core.trac.w
Before fix:
https://github.com/user-attachments/assets/04e64766-e885-48ba-b0b5-8c421b715c6b

After fix:
https://github.com/user-attachments/assets/ba7c2b04-e47c-4548-a1a2-8a9b96857ac5

Note: See TracTickets for help on using tickets.