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. Built from https://develop.svn.wordpress.org/branches/5.7@50524 git-svn-id: http://core.svn.wordpress.org/branches/5.7@50137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f3a89c4ee8
commit
e78b4f2b69
|
@ -23,7 +23,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||||
|
|
||||||
<div class="about__header">
|
<div class="about__header">
|
||||||
<div class="about__header-image">
|
<div class="about__header-image">
|
||||||
<img alt="<?php _e( 'Code is Poetry' ); ?>" src="images/about-badge.svg" />
|
<img alt="<?php _e( 'Code is Poetry' ); ?>" src="<?php echo admin_url( 'images/about-badge.svg' ); ?>" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="about__header-title">
|
<div class="about__header-title">
|
||||||
|
@ -179,8 +179,8 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||||
<div class="about__section has-subtle-background-color">
|
<div class="about__section has-subtle-background-color">
|
||||||
<div class="column about__image">
|
<div class="column about__image">
|
||||||
<picture>
|
<picture>
|
||||||
<source media="(max-width: 600px)" srcset="images/about-color-palette-vert.svg" />
|
<source media="(max-width: 600px)" srcset="<?php echo admin_url( 'images/about-color-palette-vert.svg' ); ?>" />
|
||||||
<img alt="" src="images/about-color-palette.svg" />
|
<img alt="" src="<?php echo admin_url( 'images/about-color-palette.svg' ); ?>" />
|
||||||
</picture>
|
</picture>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -22,7 +22,7 @@ $credits = wp_credits();
|
||||||
|
|
||||||
<div class="about__header">
|
<div class="about__header">
|
||||||
<div class="about__header-image">
|
<div class="about__header-image">
|
||||||
<img alt="<?php _e( 'Code is Poetry' ); ?>" src="images/about-badge.svg" />
|
<img alt="<?php _e( 'Code is Poetry' ); ?>" src="<?php echo admin_url( 'images/about-badge.svg' ); ?>" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="about__header-container">
|
<div class="about__header-container">
|
||||||
|
|
|
@ -25,7 +25,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||||
|
|
||||||
<div class="about__header">
|
<div class="about__header">
|
||||||
<div class="about__header-image">
|
<div class="about__header-image">
|
||||||
<img alt="<?php _e( 'Code is Poetry' ); ?>" src="images/about-badge.svg" />
|
<img alt="<?php _e( 'Code is Poetry' ); ?>" src="<?php echo admin_url( 'images/about-badge.svg' ); ?>" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="about__header-container">
|
<div class="about__header-container">
|
||||||
|
|
|
@ -19,7 +19,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||||
|
|
||||||
<div class="about__header">
|
<div class="about__header">
|
||||||
<div class="about__header-image">
|
<div class="about__header-image">
|
||||||
<img alt="<?php _e( 'Code is Poetry' ); ?>" src="images/about-badge.svg" />
|
<img alt="<?php _e( 'Code is Poetry' ); ?>" src="<?php echo admin_url( 'images/about-badge.svg' ); ?>" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="about__header-container">
|
<div class="about__header-container">
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.7.1-alpha-50519';
|
$wp_version = '5.7.1-alpha-50524';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue