Ticket #38616: 38616.6.diff
File 38616.6.diff, 9.9 KB (added by , 8 years ago) |
---|
-
src/wp-admin/about.php
diff --git src/wp-admin/about.php src/wp-admin/about.php index ba6c886..2f9f891 100644
include( ABSPATH . 'wp-admin/admin-header.php' ); 53 53 <div class="feature-section one-col"> 54 54 <h2><?php _e( 'Presenting Twenty Seventeen' ); ?></h2> 55 55 <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://s.w.org/images/core/4.7/twenty-seventeen-1600.jpg?v1 1600w, https://s.w.org/images/core/4.7/twenty-seventeen-493.jpg?v1 493w, https://s.w.org/images/core/4.7/twenty-seventeen-663.jpg?v1 663w, https://s.w.org/images/core/4.7/twenty-seventeen-804.jpg?v1 804w, https://s.w.org/images/core/4.7/twenty-seventeen-928.jpg?v1 928w, https://s.w.org/images/core/4.7/twenty-seventeen-1058.jpg?v1 1058w, https://s.w.org/images/core/4.7/twenty-seventeen-1173.jpg?v1 1173w, https://s.w.org/images/core/4.7/twenty-seventeen-1299.jpg?v1 1299w, https://s.w.org/images/core/4.7/twenty-seventeen-1410.jpg?v1 1410w, https://s.w.org/images/core/4.7/twenty-seventeen-1513.jpg?v1 1513w, https://s.w.org/images/core/4.7/twenty-seventeen-1595.jpg?v1 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://s.w.org/images/core/4.7/twenty-seventeen-mobile-564.jpg?v1 564w, https://s.w.org/images/core/4.7/twenty-seventeen-mobile-280.jpg?v1 280w, https://s.w.org/images/core/4.7/twenty-seventeen-mobile-372.jpg?v1 372w, https://s.w.org/images/core/4.7/twenty-seventeen-mobile-454.jpg?v1 454w, https://s.w.org/images/core/4.7/twenty-seventeen-mobile-541.jpg?v1 541w" sizes="calc(100vw - 40px)"> 59 <img src="https://s.w.org/images/core/4.7/twenty-seventeen-1600.jpg?v1" srcset="https://s.w.org/images/core/4.7/twenty-seventeen-1600.jpg?v1 1600w, https://s.w.org/images/core/4.7/twenty-seventeen-280.jpg?v1 280w, https://s.w.org/images/core/4.7/twenty-seventeen-493.jpg?v1 493w, https://s.w.org/images/core/4.7/twenty-seventeen-663.jpg?v1 663w, https://s.w.org/images/core/4.7/twenty-seventeen-804.jpg?v1 804w, https://s.w.org/images/core/4.7/twenty-seventeen-928.jpg?v1 928w, https://s.w.org/images/core/4.7/twenty-seventeen-1058.jpg?v1 1058w, https://s.w.org/images/core/4.7/twenty-seventeen-1173.jpg?v1 1173w, https://s.w.org/images/core/4.7/twenty-seventeen-1299.jpg?v1 1299w, https://s.w.org/images/core/4.7/twenty-seventeen-1410.jpg?v1 1410w, https://s.w.org/images/core/4.7/twenty-seventeen-1513.jpg?v1 1513w, https://s.w.org/images/core/4.7/twenty-seventeen-1595.jpg?v1 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" alt=""> 60 </picture> 57 61 <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> 58 62 </div> 59 63 … … include( ABSPATH . 'wp-admin/admin-header.php' ); 72 76 <div class="col"> 73 77 <?php 74 78 echo wp_video_shortcode( array( 75 'mp4' => 'https://cldup.com/drMtx9mh_D.mp4', 76 // 'webm' => 'https://s.w.org/images/core/4.6/streamlined-updates.webm', 77 // 'poster' => 'https://s.w.org/images/core/4.6/streamlined-updates-2000.png?v1', 79 'mp4' => 'https://s.w.org/images/core/4.7/starter-content.mp4', 80 'poster' => 'https://s.w.org/images/core/4.7/starter-content.jpg?v1', 78 81 'loop' => true, 79 82 'autoplay' => true, 80 83 'width' => 1140, … … include( ABSPATH . 'wp-admin/admin-header.php' ); 90 93 <h3><?php _e( 'Edit Shortcuts' ); ?></h3> 91 94 <?php 92 95 echo wp_video_shortcode( array( 93 'mp4' => 'https://cldup.com/PaNFgzdnna.mp4', 94 // 'webm' => 'https://s.w.org/images/core/4.6/streamlined-updates.webm', 95 // 'poster' => 'https://s.w.org/images/core/4.6/streamlined-updates-2000.png?v1', 96 'mp4' => 'https://s.w.org/images/core/4.7/edit-shortcuts.mp4', 97 'poster' => 'https://s.w.org/images/core/4.7/edit-shortcuts.jpg?v1', 96 98 'loop' => true, 97 99 'autoplay' => true, 98 100 'width' => 2520, … … include( ABSPATH . 'wp-admin/admin-header.php' ); 106 108 <h3><?php _e( 'Video Headers' ); ?></h3> 107 109 <?php 108 110 echo wp_video_shortcode( array( 109 'mp4' => 'https://cldup.com/qPvXxrut7L.mp4', 110 // 'webm' => 'https://s.w.org/images/core/4.6/streamlined-updates.webm', 111 // 'poster' => 'https://s.w.org/images/core/4.6/streamlined-updates-2000.png?v1', 111 'mp4' => 'https://s.w.org/images/core/4.7/header-video.mp4', 112 'poster' => 'https://s.w.org/images/core/4.7/header-video.jpg?v1', 112 113 'loop' => true, 113 114 'autoplay' => true, 114 115 'width' => 2520, … … include( ABSPATH . 'wp-admin/admin-header.php' ); 123 124 <div class="feature-section two-col"> 124 125 <div class="col"> 125 126 <h3><?php _e( 'Smoother Menu Building' ); ?></h3> 126 <img src="https:// cldup.com/qhkOJVA69G.jpg" alt="" />127 <img src="https://s.w.org/images/core/4.7/nav-menus-760.jpg?v1" srcset="https://s.w.org/images/core/4.7/nav-menus-760.jpg?v1 760w, https://s.w.org/images/core/4.7/nav-menus-280.jpg?v1 280w, https://s.w.org/images/core/4.7/nav-menus-536.jpg?v1 536w, https://s.w.org/images/core/4.7/nav-menus-745.jpg?v1 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="" /> 127 128 <p><?php _e( 'Many menus for sites contain links to the pages of your site, but what happens when you don’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’ve published your customizations, you’ll have new pages ready for you to fill with content.' );?></p> 128 129 </div> 129 130 <div class="col"> 130 131 <h3><?php _e( 'Custom CSS' ); ?></h3> 131 <img src="https:// cldup.com/uLLUgWamG1.jpg" alt="" />132 <img src="https://s.w.org/images/core/4.7/css-760.jpg?v1" srcset="https://s.w.org/images/core/4.7/css-760.jpg?v1 760w, https://s.w.org/images/core/4.7/css-280.jpg?v1 280w, https://s.w.org/images/core/4.7/css-547.jpg?v1 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="" /> 132 133 <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> 133 134 </div> 134 135 </div> … … include( ABSPATH . 'wp-admin/admin-header.php' ); 138 139 <div class="feature-section no-heading two-col"> 139 140 <div class="col"> 140 141 <h3><?php _e( 'PDF Thumbnail Previews' ); ?></h3> 141 <img src="https:// cldup.com/tDz71MBtjn.jpg" alt="" />142 <img src="https://s.w.org/images/core/4.7/pdf-760.jpg?v1" srcset="https://s.w.org/images/core/4.7/pdf-760.jpg?v1 760w, https://s.w.org/images/core/4.7/pdf-280.jpg?v1 280w, https://s.w.org/images/core/4.7/pdf-412.jpg?v1 412w, https://s.w.org/images/core/4.7/pdf-516.jpg?v1 516w, https://s.w.org/images/core/4.7/pdf-615.jpg?v1 615w, https://s.w.org/images/core/4.7/pdf-716.jpg?v1 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="" /> 142 143 <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> 143 144 </div> 144 145 <div class="col"> 145 146 <h3><?php _e( 'Dashboard in your language' ); ?></h3> 146 <img src="https:// cldup.com/PtlX3xeJpX.jpg" alt="" />147 <img src="https://s.w.org/images/core/4.7/language-760.jpg?v1" srcset="https://s.w.org/images/core/4.7/language-760.jpg?v1 760w, https://s.w.org/images/core/4.7/language-280.jpg?v1 280w, https://s.w.org/images/core/4.7/language-568.jpg?v1 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="" /> 147 148 <p><?php _e( 'Just because your site is in one language doesn’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’s profiles.' );?></p> 148 149 </div> 149 150 </div> … … include( ABSPATH . 'wp-admin/admin-header.php' ); 153 154 <div class="rest-api feature-section one-col"> 154 155 <h2><?php _e( 'Introducing REST API Content Endpoints' ); ?></h2> 155 156 <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="" />157 <img src="https://s.w.org/images/core/4.7/api-1559.jpg?v1" srcset="https://s.w.org/images/core/4.7/api-2100.jpg?v1 2100w, https://s.w.org/images/core/4.7/api-280.jpg?v1 280w, https://s.w.org/images/core/4.7/api-1034.jpg?v1 1034w, https://s.w.org/images/core/4.7/api-1559.jpg?v1 1559w, https://s.w.org/images/core/4.7/api-2032.jpg?v1 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="" /> 157 158 <p><?php 158 159 printf( 159 160 /* translators: %s: https://developer.wordpress.org/rest-api/ */