Make WordPress Core

Changeset 42123


Ignore:
Timestamp:
11/07/2017 04:25:26 AM (9 years ago)
Author:
obenland
Message:

About: Hardcoded image sources.

We're committed to these images now.

See #42087.

File:
1 edited

Legend:

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

    r42121 r42123  
    4949                        <picture>
    5050                                <source media="(max-width: 500px)" srcset="<?php echo 'https://s.w.org/images/core/4.9/banner-mobile.svg'; ?>">
    51                                 <img src="<?php echo 'https://s.w.org/images/core/4.9/banner.svg'; ?>" alt="">
     51                                <img src="https://s.w.org/images/core/4.9/banner.svg" alt="">
    5252                        </picture>
    5353                </div>
    … …  
    5959                                <div class="section-item">
    6060                                        <div class="inline-svg">
    61                                                 <img src="<?php echo 'https://s.w.org/images/core/4.9/draft-and-schedule.svg'; ?>" alt="">
     61                                                <img src="https://s.w.org/images/core/4.9/draft-and-schedule.svg" alt="">
    6262                                        </div>
    6363                                        <h3><?php _e( 'Draft and Schedule Site Design Customizations' ); ?></h3>
    … …  
    6666                                <div class="section-item">
    6767                                        <div class="inline-svg">
    68                                                 <img src="<?php echo 'https://s.w.org/images/core/4.9/design-preview-links.svg'; ?>" alt="">
     68                                                <img src="https://s.w.org/images/core/4.9/design-preview-links.svg" alt="">
    6969                                        </div>
    7070                                        <h3><?php _e( 'Collaborate with Design Preview Links' ); ?></h3>
    … …  
    7373                                <div class="section-item">
    7474                                        <div class="inline-svg">
    75                                                 <img src="<?php echo 'https://s.w.org/images/core/4.9/locking.svg'; ?>" alt="">
     75                                                <img src="https://s.w.org/images/core/4.9/locking.svg" alt="">
    7676                                        </div>
    7777                                        <h3><?php _e( 'Design Locking To Guard Your Changes' ); ?></h3>
    … …  
    8080                                <div class="section-item">
    8181                                        <div class="inline-svg">
    82                                                 <img src="<?php echo 'https://s.w.org/images/core/4.9/prompt.svg'; ?>" alt="">
     82                                                <img src="https://s.w.org/images/core/4.9/prompt.svg" alt="">
    8383                                        </div>
    8484                                        <h3><?php _e( 'A Prompt to Protect Your Work' ); ?></h3>
    … …  
    9494                                <div class="section-item">
    9595                                        <div class="inline-svg">
    96                                                 <img src="<?php echo 'https://s.w.org/images/core/4.9/syntax-highlighting.svg'; ?>" alt="">
     96                                                <img src="https://s.w.org/images/core/4.9/syntax-highlighting.svg" alt="">
    9797                                        </div>
    9898                                        <h3><?php _e( 'Syntax Highlighting and Error Checking? Yes, Please!' ); ?></h3>
    … …  
    101101                                <div class="section-item">
    102102                                        <div class="inline-svg">
    103                                                 <img src="<?php echo 'https://s.w.org/images/core/4.9/sandbox.svg'; ?>" alt="">
     103                                                <img src="https://s.w.org/images/core/4.9/sandbox.svg" alt="">
    104104                                        </div>
    105105                                        <h3><?php _e( 'Sandbox for Safety' ); ?></h3>
    … …  
    108108                                <div class="section-item">
    109109                                        <div class="inline-svg">
    110                                                 <img src="<?php echo 'https://s.w.org/images/core/4.9/warning.svg'; ?>" alt="">
     110                                                <img src="https://s.w.org/images/core/4.9/warning.svg" alt="">
    111111                                        </div>
    112112                                        <h3><?php _e( 'Warning: Potential Danger Ahead!' ); ?></h3>
    … …  
    122122                                <div class="section-item">
    123123                                        <div class="inline-svg">
    124                                                 <img src="<?php echo 'https://s.w.org/images/core/4.9/gallery-widget.svg'; ?>" alt="">
     124                                                <img src="https://s.w.org/images/core/4.9/gallery-widget.svg" alt="">
    125125                                        </div>
    126126                                        <h3><?php _e( 'The New Gallery Widget' ); ?></h3>
    … …  
    129129                                <div class="section-item">
    130130                                        <div class="inline-svg">
    131                                                 <img src="<?php echo 'https://s.w.org/images/core/4.9/media-button.svg'; ?>" alt="">
     131                                                <img src="https://s.w.org/images/core/4.9/media-button.svg" alt="">
    132132                                        </div>
    133133                                        <h3><?php _e( 'Press a Button, Add Media' ); ?></h3>
    … …  
    143143                                <div class="section-item">
    144144                                        <div class="inline-svg">
    145                                                 <img src="<?php echo 'https://s.w.org/images/core/4.9/theme-switching.svg'; ?>" alt="">
     145                                                <img src="https://s.w.org/images/core/4.9/theme-switching.svg" alt="">
    146146                                        </div>
    147147                                        <h3><?php _e( 'More Reliable Theme Switching' ); ?></h3>
    … …  
    150150                                <div class="section-item">
    151151                                        <div class="inline-svg">
    152                                                 <img src="<?php echo 'https://s.w.org/images/core/4.9/menu-flow.svg'; ?>" alt="">
     152                                                <img src="https://s.w.org/images/core/4.9/menu-flow.svg" alt="">
    153153                                        </div>
    154154                                        <h3><?php _e( 'Better Menu Instructions = Less Confusion' ); ?></h3>
    … …  
    161161                        <picture>
    162162                                <source media="(max-width: 500px)" srcset="<?php echo 'https://s.w.org/images/core/4.9/gutenberg-mobile.svg'; ?>">
    163                                 <img src="<?php echo 'https://s.w.org/images/core/4.9/gutenberg.svg'; ?>" alt="">
     163                                <img src="https://s.w.org/images/core/4.9/gutenberg.svg" alt="">
    164164                        </picture>
    165165                </div>
Note: See TracChangeset for help on using the changeset viewer.