Make WordPress Core

Ticket #38616: 38616.4.diff

File 38616.4.diff, 6.5 KB (added by joemcgill, 7 years ago)
  • src/wp-admin/about.php

    diff --git src/wp-admin/about.php src/wp-admin/about.php
    index ba6c886..a0bd119 100644
    include( ABSPATH . 'wp-admin/admin-header.php' ); 
    5353                <div class="feature-section one-col">
    5454                        <h2><?php _e( 'Presenting Twenty Seventeen' ); ?></h2>
    5555                        <p class="lead-description"><?php _e( 'A brand new default theme brings your site to life with immersive featured images and video headers.' ); ?></p>
    56                         <img src="https://cldup.com/vOUPhX0Y1J.jpg" alt="" />
     56                        <picture>
     57                                <source media="(min-width: 450px)" srcset="https://cldup.com/n3irx4I45X.jpg 1600w, https://cldup.com/t_bDt5OHW2.jpg 280w, https://cldup.com/m97IRe2TdM.jpg 493w, https://cldup.com/AefydkXvp9.jpg 663w, https://cldup.com/nZEz8bZfOw.jpg 804w, https://cldup.com/udg0aZziei.jpg 928w, https://cldup.com/xOpCNyIMjf.jpg 1058w, https://cldup.com/XGQx6SeF29.jpg 1173w, https://cldup.com/d4-L347bwi.jpg 1299w, https://cldup.com/T4Jk7vkxqR.jpg 1410w, https://cldup.com/Fd5bz6rxRi.jpg 1513w, https://cldup.com/Xkw-G7Fe9s.jpg 1595w" sizes="(max-width: 500px) calc(100vw - 40px), (max-width: 782px) calc(100vw - 70px), (max-width: 959px) calc(100vw - 116px), (max-width: 1290px) calc(100vw - 240px), 1050px">
     58                                <source srcset="https://cldup.com/XrqD9YP7Op.jpg 564w, https://cldup.com/zKp_pKOhb4.jpg 280w, https://cldup.com/pYRkdXm5eY.jpg 372w, 454w, https://cldup.com/0gXDvBajA9.jpg 541w" sizes="calc(100vw - 40px)">
     59                                <img src="https://cldup.com/n3irx4I45X.jpg" srcset="" sizes="(max-width: 500px) calc(100vw - 40px), (max-width: 782px) calc(100vw - 70px), (max-width: 959px) calc(100vw - 116px), (max-width: 1290px) calc(100vw - 240px), 1050px" alt="">
     60                        </picture>
    5761                        <p><?php _e( 'Twenty Seventeen focuses on business sites and features a customizable front page with multiple sections. Personalize it with widgets, navigation, social menus, a logo, custom colors, and more. Our default theme for 2017 works great in many languages, on any device, and for a wide range of users.' ); ?></p>
    5862                </div>
    5963
    include( ABSPATH . 'wp-admin/admin-header.php' ); 
    123127                <div class="feature-section two-col">
    124128                        <div class="col">
    125129                                <h3><?php _e( 'Smoother Menu Building' ); ?></h3>
    126                                 <img src="https://cldup.com/qhkOJVA69G.jpg" alt="" />
     130                                <img src="https://cldup.com/2y7UzgX18x.jpg" srcset="https://cldup.com/2y7UzgX18x.jpg 760w, https://cldup.com/ga0i9OWBT4-3000x3000.jpeg 280w, https://cldup.com/DiPrnJ24kW-3000x3000.jpeg 536w, https://cldup.com/IJZCN2nFQX.jpg 745w" sizes="(max-width: 500px) calc(100vw - 40px), (max-width: 781px) calc((100vw - 70px) * .466), (max-width: 959px) calc((100vw - 116px) * .469), (max-width: 1290px) calc((100vw - 240px) * .472), 496px" alt="" />
    127131                                <p><?php _e( 'Many menus for sites contain links to the pages of your site, but what happens when you don&#8217;t have any pages yet? Now you can add new pages while building menus instead of leaving the customizer and abandoning your changes. Once you&#8217;ve published your customizations, you&#8217;ll have new pages ready for you to fill with content.' );?></p>
    128132                        </div>
    129133                        <div class="col">
    130134                                <h3><?php _e( 'Custom CSS' ); ?></h3>
    131                                 <img src="https://cldup.com/uLLUgWamG1.jpg" alt="" />
     135                                <img src="https://cldup.com/FEqMdVeZ5z.jpg" srcset="https://cldup.com/FEqMdVeZ5z.jpg 760w, https://cldup.com/yqjGZyDvxI.jpg 280w, https://cldup.com/apTAPqX2t0.jpg 547w" sizes="(max-width: 500px) calc(100vw - 40px), (max-width: 781px) calc((100vw - 70px) * .466), (max-width: 959px) calc((100vw - 116px) * .469), (max-width: 1290px) calc((100vw - 240px) * .472), 496px" alt="" />
    132136                                <p><?php _e( 'Sometimes you just need a few visual tweaks to make your site perfect. WordPress 4.7 allows you to add custom CSS and instantly see how your changes affect your site. The live preview allows you to work quickly without page refreshes slowing you down.' ); ?></p>
    133137                        </div>
    134138                </div>
    include( ABSPATH . 'wp-admin/admin-header.php' ); 
    138142                <div class="feature-section no-heading two-col">
    139143                        <div class="col">
    140144                                <h3><?php _e( 'PDF Thumbnail Previews' ); ?></h3>
    141                                 <img src="https://cldup.com/tDz71MBtjn.jpg" alt="" />
     145                                <img src="https://cldup.com/-_WnXfNZxS-3000x3000.jpeg" srcset="https://cldup.com/-_WnXfNZxS-3000x3000.jpeg 760w, https://cldup.com/u6jDIgAZ7L.jpg 280w, https://cldup.com/8FkYuz56UT-3000x3000.jpeg 412w, https://cldup.com/2OC3D73VDG-3000x3000.jpeg 516w, https://cldup.com/nrYoi6b9uB-3000x3000.jpeg 615w, https://cldup.com/7wJMf2k9al.jpg 716w" sizes="(max-width: 500px) calc(100vw - 40px), (max-width: 781px) calc((100vw - 70px) * .466), (max-width: 959px) calc((100vw - 116px) * .469), (max-width: 1290px) calc((100vw - 240px) * .472), 496px" alt="" />
    142146                                <p><?php _e( 'Managing your document collection is easier with WordPress 4.7. Uploading PDFs will generate thumbnail images so you can more easily distinguish between all your documents.' ); ?></p>
    143147                        </div>
    144148                        <div class="col">
    145149                                <h3><?php _e( 'Dashboard in your language' ); ?></h3>
    146                                 <img src="https://cldup.com/PtlX3xeJpX.jpg" alt="" />
     150                                <img src="https://cldup.com/hPZ9XLSC95.jpg" srcset="https://cldup.com/hPZ9XLSC95.jpg 760w, https://cldup.com/8qHuO5Qxbm.jpg 280w, https://cldup.com/aY8ORArkF0.jpg 568w" sizes="(max-width: 500px) calc(100vw - 40px), (max-width: 781px) calc((100vw - 70px) * .466), (max-width: 959px) calc((100vw - 116px) * .469), (max-width: 1290px) calc((100vw - 240px) * .472), 496px" alt="" />
    147151                                <p><?php _e( 'Just because your site is in one language doesn&#8217;t mean that everybody helping manage it prefers that language for their admin. Add more languages to your site and a user language option will show up in your user&#8217;s profiles.' );?></p>
    148152                        </div>
    149153                </div>
    include( ABSPATH . 'wp-admin/admin-header.php' ); 
    153157                <div class="rest-api feature-section one-col">
    154158                        <h2><?php _e( 'Introducing REST API Content Endpoints' ); ?></h2>
    155159                        <p class="lead-description"><?php _e( 'WordPress 4.7 comes with REST API endpoints for posts, comments, terms, users, meta, and settings.' ); ?></p>
    156                         <img src="https://cldup.com/WkGAL4UJfI.jpg" alt="" />
     160                        <img src="https://cldup.com/y5I9rfXVXE.jpg" srcset="https://cldup.com/y5I9rfXVXE.jpg 2100w, https://cldup.com/qLVhSvOgRR.jpg 280w, https://cldup.com/DeiOaoPVvX.jpg 1034w, https://cldup.com/9zKRR5cxWs.jpg 1559w, https://cldup.com/O0QJtskb1X.jpg 2032w" sizes="(max-width: 500px) calc(100vw - 40px), (max-width: 782px) calc(100vw - 70px), (max-width: 959px) calc(100vw - 116px), (max-width: 1290px) calc(100vw - 240px), 1050px" alt="" />
    157161                        <p><?php
    158162                                printf(
    159163                                        /* translators: %s: https://developer.wordpress.org/rest-api/  */