Make WordPress Core


Ignore:
Timestamp:
03/11/2021 09:48:43 PM (3 years ago)
Author:
ryelle
Message:

Help/About: Use absolute URLs for inline images on About pages.

This ensures the images are loaded correctly from both single site and network About pages.

Props TobiasBg, audrasjb.
Merges [50523] to the 5.7 branch.
Fixes #52743.

Location:
branches/5.7
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.7

  • branches/5.7/src/wp-admin/privacy.php

    r50418 r50524  
    2020    <div class="about__header">
    2121        <div class="about__header-image">
    22             <img alt="<?php _e( 'Code is Poetry' ); ?>" src="images/about-badge.svg" />
     22            <img alt="<?php _e( 'Code is Poetry' ); ?>" src="<?php echo admin_url( 'images/about-badge.svg' ); ?>" />
    2323        </div>
    2424
Note: See TracChangeset for help on using the changeset viewer.