Skip to content

Commit

Permalink
Help/About: Add images to the About page.
Browse files Browse the repository at this point in the history
The images have been uploaded to the w.org CDN and added into the About page. Additionally, the link to the release page has been fixed, and an extra translator note about the escaped percent sign has been added.

Follow-up to [58568].

Props ryelle, joen.
See #61320.



git-svn-id: https://develop.svn.wordpress.org/trunk@58618 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
ryelle committed Jul 2, 2024
1 parent 486c9a2 commit 6af6395
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/wp-admin/about.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,15 @@
</div>
<div class="column is-vertically-aligned-center">
<div class="about__image">
<img src="data:image/svg+xml,%3Csvg width='436' height='436' viewbox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='100%25' height='100%25' fill='%23ededed' /%3E%3C/svg%3E" alt="" height="436" width="436" />
<img src="https://s.w.org/images/core/6.6/color-palettes.webp" alt="" height="436" width="436" />
</div>
</div>
</div>

<div class="about__section has-2-columns">
<div class="column is-vertically-aligned-center">
<div class="about__image">
<img src="data:image/svg+xml,%3Csvg width='436' height='436' viewbox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='100%25' height='100%25' fill='%23ededed' /%3E%3C/svg%3E" alt="" height="436" width="436" />
<img src="https://s.w.org/images/core/6.6/page-previews.webp" alt="" height="436" width="436" />
</div>
</div>
<div class="column is-vertically-aligned-center">
Expand All @@ -89,15 +89,15 @@
</div>
<div class="column is-vertically-aligned-center">
<div class="about__image">
<img src="data:image/svg+xml,%3Csvg width='436' height='436' viewbox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='100%25' height='100%25' fill='%23ededed' /%3E%3C/svg%3E" alt="" height="436" width="436" />
<img src="https://s.w.org/images/core/6.6/feature-rollbacks.webp" alt="" height="436" width="436" />
</div>
</div>
</div>

<div class="about__section has-2-columns">
<div class="column is-vertically-aligned-center">
<div class="about__image">
<img src="data:image/svg+xml,%3Csvg width='436' height='436' viewbox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='100%25' height='100%25' fill='%23ededed' /%3E%3C/svg%3E" alt="" height="436" width="436" />
<img src="https://s.w.org/images/core/6.6/overrides.webp" alt="" height="436" width="436" />
</div>
</div>
<div class="column is-vertically-aligned-center">
Expand All @@ -124,7 +124,7 @@
<p>
<?php
printf(
/* translators: %s: code-formatted "data-wp-on-async". */
/* translators: %s: code-formatted "data-wp-on-async", %%: escaped percent sign, leave as %%. */
__( '6.6 includes important updates like removing redundant WP_Theme_JSON calls, disabling autoload for large options, eliminating unnecessary polyfill dependencies, lazy loading post embeds, introducing the %s directive, and a 40%% reduction in template loading time in the editor.' ),
'<code>data-wp-on-async</code>'
);
Expand Down Expand Up @@ -152,7 +152,7 @@
</div>
<div class="column aligncenter">
<div class="about__image">
<a href="<?php esc_url( __( 'https://wordpress.org/download/releases/6-6/' ) ); ?>" class="button button-primary button-hero"><?php _e( 'See everything new' ); ?></a>
<a href="<?php echo esc_url( __( 'https://wordpress.org/download/releases/6-6/' ) ); ?>" class="button button-primary button-hero"><?php _e( 'See everything new' ); ?></a>
</div>
</div>
</div>
Expand Down

0 comments on commit 6af6395

Please sign in to comment.