Make WordPress Core

Changeset 58618

Timestamp:
07/02/2024 03:13:13 PM (4 weeks ago)
Author:
ryelle
Message:

Help/About: Add images to the About page.

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/about.php

    r58568 r58618  
    6666            <div class="column is-vertically-aligned-center">
    6767                <div class="about__image">
    68                     <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" />
    69                 </div>
    70             </div>
    71         </div>
    72 
    73         <div class="about__section has-2-columns">
    74             <div class="column is-vertically-aligned-center">
    75                 <div class="about__image">
    76                     <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" />
     68                    <img src="" alt="" height="436" width="436" />
     69                </div>
     70            </div>
     71        </div>
     72
     73        <div class="about__section has-2-columns">
     74            <div class="column is-vertically-aligned-center">
     75                <div class="about__image">
     76                    <img src="" alt="" height="436" width="436" />
    7777                </div>
    7878            </div>
     
    9090            <div class="column is-vertically-aligned-center">
    9191                <div class="about__image">
    92                     <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" />
    93                 </div>
    94             </div>
    95         </div>
    96 
    97         <div class="about__section has-2-columns">
    98             <div class="column is-vertically-aligned-center">
    99                 <div class="about__image">
    100                     <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" />
     92                    <img src="" alt="" height="436" width="436" />
     93                </div>
     94            </div>
     95        </div>
     96
     97        <div class="about__section has-2-columns">
     98            <div class="column is-vertically-aligned-center">
     99                <div class="about__image">
     100                    <img src="" alt="" height="436" width="436" />
    101101                </div>
    102102            </div>
     
    125125                    <?php
    126126                    printf(
    127                         /* translators: %s: code-formatted "data-wp-on-async". */
     127                        /* translators: %s: code-formatted "data-wp-on-async". */
    128128                        __( '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.' ),
    129129                        '<code>data-wp-on-async</code>'
     
    153153            <div class="column aligncenter">
    154154                <div class="about__image">
    155                     <a href="<?php esc_url( __( 'https://wordpress.org/download/releases/6-6/' ) ); ?>" class="button button-primary button-hero"><?php _e( 'See everything new' ); ?></a>
     155                    <a href="<?php esc_url( __( 'https://wordpress.org/download/releases/6-6/' ) ); ?>" class="button button-primary button-hero"><?php _e( 'See everything new' ); ?></a>
    156156                </div>
    157157            </div>
Note: See TracChangeset for help on using the changeset viewer.