Changeset 48675
- Timestamp:
- 07/28/2020 05:43:50 PM (4 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/about.php
r47706 r48675 20 20 21 21 <div class="about__header"> 22 <div class="about__header-text"> 23 <?php _e( 'Speed. Search. Security.' ); ?> 24 </div> 25 22 26 <div class="about__header-title"> 23 27 <p> 24 28 <?php _e( 'WordPress' ); ?> 25 29 <span><?php echo $display_version; ?></span> 26 </p>27 </div>28 29 <div class="about__header-text">30 <p>31 <?php _e( 'Building more with blocks, faster and easier.' ); ?>32 30 </p> 33 31 </div> … … 41 39 </div> 42 40 43 <div class="about__section is-feature has-accent-background-color"> 44 <h1><?php _e( 'Say hello to more and better.' ); ?></h1> 45 46 <p><?php _e( 'More ways to make your pages come alive. With easier ways to get it all done and looking better than ever—and boosts in speed you can feel.' ); ?></p> 47 </div> 48 49 <hr /> 50 51 <div class="about__section has-2-columns has-subtle-background-color"> 52 <h2 class="is-section-header"> 41 <div class="about__section is-feature has-subtle-background-color"> 42 <h1> 53 43 <?php 54 44 printf( … … 58 48 ); 59 49 ?> 60 </h2> 61 <div class="column"> 62 <p> 63 <?php _e( 'Every major release adds more to the block editor.' ); ?> 64 </p> 65 <p> 66 <?php _e( 'More ways to make posts and pages come alive with your best images.' ); ?> 67 <?php _e( 'More ways to bring your visitors in, and keep them engaged, with the richness of embedded media from the web’s top services.' ); ?> 68 </p> 69 </div> 70 <div class="column"> 71 <p> 72 <?php _e( 'More ways to make your vision real, and put blocks in the perfect place—even if a particular kind of block is new to you. More efficient processes.' ); ?> 73 </p> 74 <p> 75 <?php _e( 'And more speed everywhere, so as you build sections or galleries, or just type in a line of prose, you can feel how much faster your work flows.' ); ?> 76 </p> 77 </div> 78 </div> 79 80 <hr /> 81 50 </h1> 51 <p> 52 <?php 53 printf( 54 /* translators: %s: The current WordPress version number. */ 55 __( 'In WordPress %s, your site gets new power in three major areas: speed, search, and security.' ), 56 $display_version 57 ); 58 ?> 59 </p> 60 </div> 61 62 <hr /> 63 64 <div class="about__section has-2-columns is-wider-left"> 65 <div class="column"> 66 <h2><?php _e( 'Speed' ); ?></h2> 67 <p><strong><?php _e( 'Posts and pages feel faster, thanks to lazy-loaded images.' ); ?></strong></p> 68 <p><?php _e( 'Images give your story a lot of impact, but they can sometimes make your site seem slow.' ); ?></p> 69 <p><?php _e( 'In WordPress 5.5, images wait to load until they’re just about to scroll into view. The technical term is ‘lazy loading.’' ); ?></p> 70 <p><?php _e( 'On mobile, lazy loading can also keep browsers from loading files meant for other devices. That can save your readers money on data — and help preserve battery life.' ); ?></p> 71 </div> 72 <div class="column is-edge-to-edge" style="background-color:skyblue;"> 73 </div> 74 </div> 75 76 <hr class="is-small" /> 77 78 <div class="about__section has-2-columns is-wider-right"> 79 <div class="column is-edge-to-edge" style="background-color:skyblue;"> 80 </div> 81 <div class="column"> 82 <h2><?php _e( 'Search' ); ?></h2> 83 <p><strong><?php _e( 'Say hello to your new sitemap.' ); ?></strong></p> 84 <p><?php _e( 'WordPress sites work well with search engines. ' ); ?></p> 85 <p><?php _e( 'Now, by default, WordPress 5.5 includes an XML sitemap that helps search engines discover your most important pages from the very minute you go live.' ); ?></p> 86 <p><?php _e( 'So more people will find your site sooner, giving you more time to engage, retain and convert them to subscribers, customers or whatever fits your definition of success.' ); ?></p> 87 </div> 88 </div> 89 90 <hr class="is-small" /> 91 92 <div class="about__section has-2-columns is-wider-left"> 93 <div class="column"> 94 <h2><?php _e( 'Security' ); ?></h2> 95 <p><strong><?php _e( 'Auto-updates for Plugins and Themes' ); ?></strong></p> 96 <p><?php _e( 'Now you can set plugins and themes to update automatically — or not! — in the WordPress admin. So you always know your site is running the latest code available.' ); ?></p> 97 <p><?php _e( 'You can also turn auto-updates on or off for each plugin or theme you have installed — all on the same screens you’ve always used.' ); ?></p> 98 <p><strong><?php _e( 'Update by uploading ZIP files' ); ?></strong></p> 99 <p><?php _e( 'If updating plugins and themes manually is your thing, now that’s easier too — just upload a ZIP file.' ); ?></p> 100 </div> 101 <div class="column is-edge-to-edge" style="background-color:skyblue;"> 102 </div> 103 </div> 104 105 <hr /> 106 107 <div class="about__section"> 108 <div class="column is-edge-to-edge" style="height:200px;background-color:skyblue;"> 109 </div> 110 <div class="column"> 111 <h2><?php _e( 'Highlights from the block editor' ); ?></h2> 112 <p><?php _e( 'Once again, the latest WordPress release packs a long list of exciting new features for the block editor. For example:' ); ?></p> 113 </div> 114 </div> 82 115 <div class="about__section has-2-columns"> 83 <div class="column is-edge-to-edge"> 84 <div class="about__image aligncenter"> 85 <img src="data:image/svg+xml;charset=utf8,%3Csvg width='500' height='500' viewbox='0 0 500 500' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23F3F4F5' d='M0 0h500v500H0z'/%3E%3Cpath d='M346.7 37.645s100.5-2.8 102.6 0c2.1 2.8 0 124.999 0 124.999l-106.9 2.8 4.3-127.8z' fill='%232CA8EB'/%3E%3Cpath d='M343.5 185.844s100.5-1.9 102.6 0c2.1 1.9 1.1 125.9 4.3 127.8 3.2 1.9-100.5 1.9-104.8 2.8-4.3.9-2.1-130.6-2.1-130.6z' fill='%237CAED2'/%3E%3Cpath d='M195.6 186.744s102.7 2.8 106.9 2.8c4.2 0 7.4 120.4 4.2 122.2-3.2 1.9-106.9 2.8-106.9 2.8s2.1-126.9-4.2-127.8z' fill='%2381A4D4'/%3E%3Cpath d='M152.8 192.344s2.1 124.1 4.3 126.9c2.1 2.7-109.1 1.8-109.1 1.8v-128.7h104.8z' fill='%235DC3D8'/%3E%3Cpath d='M152 464.544H56v-119.8l101-1.7s-8.9 118-5 121.5z' fill='%230574E2'/%3E%3Cpath d='M195 35.844h101.6s-8.6 119.4 0 125c8.6 5.6-101.6 3.7-101.6 3.7v-128.7z' fill='%23216BCE'/%3E%3Cpath d='M302.3 463.844s-102.9 2.8-105.1 0c-2.2-2.8 0-125 0-125l109.5-2.8-4.4 127.8z' fill='%231C99D1'/%3E%3Cpath d='M346.2 464.544s-2.1-124.1-4.3-126.9c-2.1-2.8 109.1-1.9 109.1-1.9v128.7H346.2v.1z' fill='%231B44DD'/%3E%3Cpath d='M50.2 35.844s100.5-1.9 102.6 0c2.1 1.9 1.1 125.9 4.3 127.8 3.2 1.9-100.5 1.9-104.8 2.8-4.3.9-2.1-130.6-2.1-130.6z' fill='%231B36BC'/%3E%3C/svg%3E" alt="" /> 86 </div> 87 </div> 88 <div class="column is-vertically-aligned-center"> 89 <h2><?php _e( 'Two new blocks. And better blocks overall.' ); ?></h2> 90 <ul> 91 <li><?php _e( 'Two brand-new blocks: Social Icons and Buttons make adding interactive features fast and easy.' ); ?></li> 92 <li><?php _e( 'New ways with color: Gradients in the Buttons and Cover block, toolbar access to color options in Rich Text blocks, and for the first time, color options in the Group and Columns blocks.' ); ?></li> 93 <li><?php _e( 'Guess a whole lot less! Version 5.4 streamlines the whole process for placing and replacing multimedia in every block. Now it works the same way in almost every block!' ); ?></li> 94 <li><?php _e( 'And if you’ve ever thought your image in the Media+Text block should link to something else—perhaps a picture of a brochure should download that brochure as a document? Well, now it can.' ); ?></li> 95 </ul> 96 </div> 97 </div> 116 <div class="column"> 117 <h3><?php _e( 'Inline image editing' ); ?></h3> 118 <p><?php _e( 'Crop, rotate, and zoom your photos right from the image block. If you spend a lot of time on images, this could save you hours!' ); ?></p> 119 <h3><?php _e( 'Block patterns' ); ?></h3> 120 <p><?php _e( 'New block patterns make it simple and fun to create complex, beautiful layouts, using combinations of text and media that you can mix and match to fit your story.' ); ?></p> 121 <p><?php _e( 'You will also find block patterns in a wide variety of plugins and themes, with more added all the time. Pick any of them from a single dropdown — just click and go!' ); ?></p> 122 </div> 123 <div class="column"> 124 <h3><?php _e( 'The New Block Directory' ); ?></h3> 125 <p><?php _e( 'Now it’s easier than ever to find the block you need. The new block directory is built right into the block editor, so you can install new block types to your site without ever leaving the editor.' ); ?></p> 126 127 <h3><?php _e( 'And so much more.' ); ?></h3> 128 <p><?php _e( 'The highlights above are a tiny fraction of the new block-editor features you’ve just installed. Open the block editor and enjoy!' ); ?></p> 129 </div> 130 </div> 131 132 <hr /> 98 133 99 134 <div class="about__section has-2-columns"> 100 <div class="column is-vertically-aligned-center"> 101 <h2><?php _e( 'Cleaner UI, clearer navigation—and easier tabbing!' ); ?></h2> 102 <ul> 103 <li><?php _e( 'Clearer block navigation with block breadcrumbs. And easier selection once you get there.' ); ?></li> 104 <li><?php _e( 'For when you need to navigate with the keyboard, better tabbing and focus. Plus, you can tab over to the sidebar of nearly any block.' ); ?></li> 105 <li><?php _e( 'Speed! 14% faster loading of the editor, 51% faster time-to-type!' ); ?></li> 106 <li><?php _e( 'Tips are gone. In their place, a Welcome Guide window you can bring up when you need it—and only when you need it—again and again.' ); ?></li> 107 <li><?php _e( 'Know at a glance whether you’re in a block’s Edit or Navigation mode. Or, if you have restricted vision, your screen reader will tell you which mode you’re in.' ); ?></li> 108 </ul> 109 <p><?php _e( 'Of course, if you want to work with the very latest tools and features, install the <a href="https://wordpress.org/plugins/gutenberg/">Gutenberg plugin</a>. You’ll get to be the first to use new and exciting features in the block editor, before anyone else has seen them!' ); ?></p> 110 </div> 111 <div class="column is-edge-to-edge"> 112 <div class="about__image aligncenter"> 113 <img src="data:image/svg+xml;charset=utf8,%3Csvg width='500' height='500' viewbox='0 0 500 500' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23F3F4F5' d='M0 0h500v500H0z'/%3E%3Cg clip-path='url(%23clip0)'%3E%3Cpath d='M169.6 171.55l-.3 72.3 330.7-1v-72.6l-330.4 1.3z' fill='%230740B3'/%3E%3Cpath d='M291.2 97.85l-1.3-14.8-63.4-.7v76c0 3.6 176.7 4.1 273.5 4.1v-64.5H291.2v-.1z' fill='%230285D7'/%3E%3Cpath d='M500 27.75l-215.5-5.9 5.4 61.2 210.1 2.5v-57.8z' fill='%231730E5'/%3E%3Cpath d='M500 97.85v-12.3l-210.1-2.5 1.3 14.8H500z' fill='%230285D7'/%3E%3Cpath d='M500 97.85v-12.3l-210.1-2.5 1.3 14.8H500z' fill='%231730E5' style='mix-blend-mode:multiply'/%3E%3Cpath d='M255.2 379.75l-1-49.2-229.2.3-2 69.7 477-1.3v-24.3l-244.8 4.8z' fill='%230285D7'/%3E%3Cpath d='M500 424.35v-15l-430.8 1.2-4 51.5 134.6-.5v-34.4c.1-2.8 214.4-2.9 300.2-2.8z' fill='%230878FF'/%3E%3Cpath d='M500 290.05l-246.4 4.3.6 36.2 245.8-.3v-40.2z' fill='%23072CF0'/%3E%3Cpath d='M500 374.95v-44.7l-245.8.3 1 49.2 244.8-4.8z' fill='%230285D7'/%3E%3Cpath d='M500 374.95v-44.7l-245.8.3 1 49.2 244.8-4.8z' fill='%23072CF0' style='mix-blend-mode:multiply'/%3E%3Cpath d='M199.9 461.55v17.6l300.1-2.4v-16.3l-300.1 1.1z' fill='%230285D7'/%3E%3Cpath d='M500 424.35c-85.8-.1-300.1 0-300.1 2.8v34.4l300.1-1.1v-36.1z' fill='%230878FF'/%3E%3Cpath d='M500 424.35c-85.8-.1-300.1 0-300.1 2.8v34.4l300.1-1.1v-36.1z' fill='%230285D7' style='mix-blend-mode:multiply'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0'%3E%3Cpath transform='rotate(-90 23 479.15)' fill='%23fff' d='M23 479.15h457.3v477H23z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E" alt=""> 114 </div> 115 </div> 116 </div> 117 118 <div class="about__section has-2-columns"> 119 <div class="column is-edge-to-edge"> 120 <div class="about__image aligncenter"> 121 <img src="data:image/svg+xml;charset=utf8,%3Csvg width='500' height='500' viewbox='0 0 500 500' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23F3F4F5' d='M0 0h500v500H0z'/%3E%3Cpath d='M31.3 284.4c-2-.1 12.2-250.6 12.2-250.6s94.8 4.4 99.7 5.2c.3 21.8 4.1 250.1 4.1 250.1l-116-4.7z' fill='%231730E5'/%3E%3Cpath d='M346.8 467.4l-11.7-305.9 138.2 2.4-3 304.1-123.5-.6z' fill='%230840B3'/%3E%3Cpath d='M287.7 34.9c2.3 0 5.9 398.5 5.9 398.5s-109.6-2.2-115 .6c-5.4 2.8 10.6-400.5 10.6-400.5l98.5 1.4z' fill='%23018BDE'/%3E%3Cpath d='M372.3 138c32.585 0 59-26.415 59-59s-26.415-59-59-59-59 26.415-59 59 26.415 59 59 59z' fill='%23062EF7'/%3E%3Cpath d='M35.8 315c-12.8 0-24.9 2.9-35.8 8.1v148.7c10.8 5.2 22.9 8.1 35.8 8.1 45.6 0 82.5-36.9 82.5-82.5S81.3 315 35.8 315z' fill='%231C87C0'/%3E%3C/svg%3E" alt="" /> 122 </div> 123 </div> 124 <div class="column is-vertically-aligned-center"> 125 <h2><?php _e( 'Your fundamental right: privacy' ); ?></h2> 126 <p><?php _e( '5.4 helps with a variety of privacy issues around the world. So when users and stakeholders ask about regulatory compliance, or how your team handles user data, the answers should be a lot easier to get right.' ); ?></p> 127 <p><?php _e( 'Take a look:' ); ?></p> 128 <ul> 129 <li><?php _e( 'Now personal data exports include users session information and users location data from the community events widget. Plus, a table of contents!' ); ?></li> 130 <li><?php _e( 'See progress as you process export and erasure requests through the privacy tools.' ); ?></li> 131 <li><?php _e( 'Plus, little enhancements throughout give the privacy tools a little cleaner look. Your eyes will thank you!' ); ?></li> 132 </ul> 133 </div> 134 </div> 135 136 <hr /> 137 138 <div class="about__section "> 139 <div class="column has-subtle-background-color"> 140 <h2 class="is-section-header"><?php _e( 'Just for developers' ); ?></h2> 141 </div> 142 </div> 143 144 <hr class="is-small" /> 145 146 <div class="about__section"> 147 <div class="about__image aligncenter"> 148 <img src="data:image/svg+xml;charset=utf8,%3Csvg width='1000' height='500' viewbox='0 0 1000 500' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M761 360.917H428v66.8h333v-66.8z' fill='%230574E2'/%3E%3Cpath d='M921 399.801H592.2v99.7H921v-99.7z' fill='%231C99D1'/%3E%3Cpath d='M288.1 378.963c46.392 0 84-37.496 84-83.749 0-46.253-37.608-83.748-84-83.748s-84 37.495-84 83.748c0 46.253 37.608 83.749 84 83.749z' fill='%230F7DEA'/%3E%3Cpath d='M553.3 191.426H272.5v85.742h280.8v-85.742z' fill='%231730E5'/%3E%3Cpath d='M785 151.545H499.4v77.169H785v-77.169z' fill='%231C99D1'/%3E%3Cpath d='M777.3 284.247c50.258 0 91-40.62 91-90.728 0-50.107-40.742-90.727-91-90.727s-91 40.62-91 90.727c0 50.108 40.742 90.728 91 90.728z' fill='%231826D3'/%3E%3Cpath d='M635 33.898H413v101.695h222V33.898zM1000 303.091H708v76.769h292v-76.769zM366 102.692H0v66.799h366v-66.799z' fill='%230574E2'/%3E%3Cpath d='M275 24.925H96v93.719h179V24.925z' fill='%231C99D1'/%3E%3Cpath d='M861 0H573v66.8h288V0z' fill='%231730E5'/%3E%3Cpath d='M436 440.678c35.346 0 64-28.568 64-63.809 0-35.24-28.654-63.808-64-63.808-35.346 0-64 28.568-64 63.808 0 35.241 28.654 63.809 64 63.809z' fill='%23236FE8'/%3E%3Cpath d='M428 449.651H171.4V500H428v-50.349z' fill='%231C99D1'/%3E%3Cpath d='M318 404.786H77v63.908h241v-63.908z' fill='%231826D3'/%3E%3Cpath d='M818 258.225H600v73.281h218v-73.281zM613 117.647H456v93.719h157v-93.719zM96.1 198.604c18.833 0 34.1-15.221 34.1-33.998 0-18.776-15.267-33.998-34.1-33.998-18.833 0-34.1 15.222-34.1 33.998 0 18.777 15.267 33.998 34.1 33.998z' fill='%231C99D1'/%3E%3C/svg%3E" alt=""> 149 </div> 150 </div> 151 152 <hr class="is-small" /> 153 154 <div class="about__section has-2-columns"> 155 <div class="column"> 156 <h3><?php _e( 'Add custom fields to menu items—natively' ); ?></h3> 157 <p> 158 <?php _e( 'Two new actions let you add custom fields to menu items—without a plugin and without writing custom walkers.' ); ?> 159 </p> 135 <div class="column"> 136 <h2><?php _e( 'Accessibility' ); ?></h2> 137 <p><?php _e( 'Every release adds improvements to the accessible publishing experience, and that remains true for WordPress 5.5. ' ); ?></p> 138 <p><?php _e( 'Now you can copy links in media screens and modal dialogs with a button, instead of trying to highlight a line of text.' ); ?></p> 139 <p><?php _e( 'You can also move meta boxes with the keyboard, and edit images in WordPress with your assistive device, as it can read you the instructions in the image editor.' ); ?></p> 140 </div> 141 <div class="column is-edge-to-edge" style="background-color:skyblue;"> 142 </div> 143 </div> 144 145 <hr /> 146 147 <div class="about__section has-subtle-background-color has-2-columns"> 148 <header class="is-section-header"> 149 <h2><?php _e( 'For developers' ); ?></h2> 150 <p><?php _e( '5.5 also brings a big box of changes just for developers.' ); ?></p> 151 </header> 152 <div class="column"> 153 <h3><?php _e( 'Server-side registered blocks in the REST API' ); ?></h3> 154 <p><?php _e( 'The addition of block types endpoints means that JavaScript apps (like the block editor) can retrieve definitions for any blocks registered on the server.' ); ?></p> 155 </div> 156 <div class="column"> 157 <h3><?php _e( 'Dashicons' ); ?></h3> 158 <p><?php _e( 'The Dashicons library has received its final update in 5.5. It adds 39 block-editor icons along with 26 others.' ); ?></p> 159 </div> 160 </div> 161 162 <div class="about__section has-subtle-background-color has-2-columns"> 163 <div class="column"> 164 <h3><?php _e( 'Defining environments' ); ?></h3> 160 165 <p> 161 166 <?php 162 167 printf( 163 /* translators: %s: 'wp_ nav_menu_item_custom_fields' action name. */164 __( ' On the Menus admin screen, %s fires just before the move buttons of a nav menu item in the menu editor.' ),165 '<code>wp_ nav_menu_item_custom_fields</code>'168 /* translators: %s: 'wp_get_environment_type' function name. */ 169 __( 'WordPress now has a standardized way to define a site’s environment type (staging, production, etc). Retrieve that type with %s and execute only the appropriate code.' ), 170 '<code>wp_get_environment_type()</code>' 166 171 ); 167 172 ?> 168 173 </p> 174 </div> 175 <div class="column"> 176 <h3><?php _e( 'Passing data to template files' ); ?></h3> 169 177 <p> 170 178 <?php 171 179 printf( 172 /* translators: %s: 'wp_nav_menu_item_custom_fields_customize_template' action name. */ 173 __( 'In the Customizer, %s fires at the end of the menu-items form-fields template.' ), 174 '<code>wp_nav_menu_item_custom_fields_customize_template</code>' 180 /* translators: %1$s: 'get_header' function name, %2$s: 'get_template_part' function name, %3$s: '$args' variable name. */ 181 __( 'The template loading functions (%1$s, %2$s, etc.) have a new %3$s argument. So now you can pass an entire array’s worth of data to those templates.' ), 182 '<code>get_header()</code>', 183 '<code>get_template_part()</code>', 184 '<code>$args</code>' 175 185 ); 176 186 ?> 177 187 </p> 178 <p>179 <?php _e( 'Check your code and see where these new actions can replace your custom code, and if you’re concerned about duplication, add a check for the WordPress version.' ); ?>180 </p> 181 </div>182 <div class="column"> 183 <h3><?php _e( ' Blocks! Simpler styling, new APIs and embeds' ); ?></h3>188 </div> 189 </div> 190 191 <div class="about__section has-subtle-background-color"> 192 <div class="column"> 193 <h3><?php _e( 'More changes for developers' ); ?></h3> 184 194 <ul> 185 <li><?php _e( '<strong>Radically</strong> simpler block styling. Negative margins and default padding are gone! Now you can style blocks the way you need them. And, a refactor got rid of four redundant wrapper divs.' ); ?></li> 186 <li><?php _e( 'If you build plugins, now you can register collections of your blocks by namespace across categories—a great way to get more brand visibility.' ); ?></li> 187 <li><?php _e( 'Let users do more with two new APIs: block variations and gradients.' ); ?></li> 188 <li><?php _e( 'In embeds, now the block editor supports TikTok—and CollegeHumor is gone.' ); ?></li> 195 <li><?php _e( 'The PHPMailer library just got a major update, going from version 5.2.27 to 6.1.6.' ); ?></li> 196 <li> 197 <?php 198 printf( 199 /* translators: %s: 'redirect_guess_404_permalink' function name. */ 200 __( 'Now get more fine-grained control of %s.' ), 201 '<code>redirect_guess_404_permalink()</code>' 202 ); 203 ?> 204 </li> 205 <li> 206 <?php 207 printf( 208 /* translators: %s: 'wp_opcache_invalidate' function name. */ 209 __( 'Sites that use PHP’s OPcache will see more reliable cache invalidation, thanks to the new %s function during updates (including to plugins and themes).' ), 210 '<code>wp_opcache_invalidate()</code>' 211 ); 212 ?> 213 </li> 214 <li><?php _e( 'New filters let custom post types associated with the category taxonomy have a default term beyond “Uncategorized.”' ); ?></li> 215 <li><?php _e( 'You will find updated versions of these bundled libraries: SimplePie, Twemoji, Masonry, imagesLoaded, getID3, Moment.js, and clipboard.js.' ); ?></li> 189 216 </ul> 190 217 </div> … … 194 221 195 222 <div class="about__section"> 196 <div class="column"> 223 224 </div> 225 226 <hr class="is-small" /> 227 228 <div class="about__section"> 229 <div class="column"> 230 <h3><?php _e( 'Check the Field Guide for more!' ); ?></h3> 197 231 <p> 198 232 <?php 199 233 printf( 200 /* translators: %s: WordPress 5. 4Field Guide link. */201 __( 'There ’s lots more for developers to love in WordPress 5.4. To discover more and learn how to make these changes shine on your sites, themes, plugins and more, check the <a href="%s">WordPress 5.4 Field Guide</a>.' ),202 'https://make.wordpress.org/core/ 2020/03/03/wordpress-5-4-field-guide/'234 /* translators: %s: WordPress 5.5 Field Guide link. */ 235 __( 'There’s a lot more for developers to love in WordPress 5.5. To discover more and learn how to make these changes shine on your sites, themes, plugins and more, check the <a href="%s">WordPress 5.5 Field Guide.</a>' ), 236 'https://make.wordpress.org/core/wordpress-5-5-field-guide/' 203 237 ); 204 238 ?> -
trunk/src/wp-admin/credits.php
r47521 r48675 22 22 23 23 <div class="about__header"> 24 <div class="about__header-text"> 25 <?php _e( 'Speed. Search. Security.' ); ?> 26 </div> 27 24 28 <div class="about__header-title"> 25 29 <p> 26 30 <?php _e( 'WordPress' ); ?> 27 31 <span><?php echo $display_version; ?></span> 28 </p>29 </div>30 31 <div class="about__header-text">32 <p>33 <?php _e( 'Building more with blocks, faster and easier.' ); ?>34 32 </p> 35 33 </div> -
trunk/src/wp-admin/css/about.css
r47558 r48675 22 22 /* Section backgrounds */ 23 23 --background: #f3f4f5; 24 --subtle-background: # bde7f0;24 --subtle-background: #f2edd4; 25 25 /* Main text color */ 26 --text: #32373c; 27 --text-light: #f3f4f5; 26 --text: #322d2b; 27 --text-light: #f2edd4; 28 /* Accent colors: used in header, on special classes. */ 29 --accent-1: #ebcd3d; /* Accent background */ 30 --accent-2: #bd7331; 31 --accent-3: #bc5131; 28 32 /* Navigation colors. */ 29 --nav-background: #216bce; 30 --nav-border: #1730e5; 31 --nav-color: #f3f4f5; 32 /* Reds, used as accents & in header. */ 33 --accent-1: #1730e5; 34 --accent-2: #216bce; 35 --accent-3: #bde7f0; 33 --nav-background: var( --subtle-background ); 34 --nav-border: var( --accent-1 ); 35 --nav-color: var(--accent-3); 36 --nav-current: var(--accent-3); 36 37 } 37 38 … … 104 105 105 106 .about__container .has-accent-background-color { 106 color: #f3f4f5; 107 color: var(--text-light); 108 background-color: #1730e5; 107 background-color: #ebcd3d; 109 108 background-color: var(--accent-1); 110 109 } 111 110 111 112 .about__container .has-transparent-background-color { 113 background-color: transparent; 114 } 115 116 .about__container .has-accent-color { 117 color: #bc5131; 118 color: var(--accent-3); 119 } 120 112 121 .about__container .has-subtle-background-color { 113 background-color: # bde7f0;122 background-color: #f2edd4; 114 123 background-color: var(--subtle-background); 124 color: #322d2b; 125 color: var(--text); 115 126 } 116 127 … … 125 136 } 126 137 138 .about__section + .about__section .column { 139 padding-top: 0; 140 } 141 127 142 .about__section .column.is-edge-to-edge { 128 143 padding: 0; … … 135 150 .about__section .column p:last-of-type { 136 151 margin-bottom: 0; 152 } 153 154 .about__section .has-text-columns { 155 columns: 2; 156 column-gap: 64px; 137 157 } 138 158 … … 140 160 margin-bottom: 0; 141 161 padding: 32px 32px 0; 162 } 163 164 .about__section .is-section-header p:last-child { 165 margin-bottom: 0; 142 166 } 143 167 … … 330 354 331 355 .about__section a { 332 color: # 1730e5;333 color: var(--accent- 1);356 color: #bc5131; 357 color: var(--accent-3); 334 358 text-decoration: underline; 335 359 } … … 338 362 .about__section a:active, 339 363 .about__section a:focus { 364 color: #bd7331; 365 color: var(--accent-2); 340 366 text-decoration: none; 341 367 } … … 412 438 413 439 .about__header { 440 padding-top: 10vh; 414 441 margin-bottom: 32px; 415 background-color: #f3f4f5; 416 background-color: var(--background); 417 background-repeat: no-repeat; 418 background-position: top right; 419 background-size: contain; 420 background-image: url('https://s.w.org/images/core/5.4/header-diagonal.svg'); 421 } 422 423 .rtl .about__header { 424 background-image: url('https://s.w.org/images/core/5.4/header-diagonal-rtl.svg'); 425 } 426 427 .about__header > div { 442 background-color: #ebcd3d; 443 background-color: var(--accent-1); 444 color: #322d2b; 445 color: var(--text); 446 } 447 448 .about__header-title { 428 449 display: flex; 429 } 430 431 .about__header > div > * { 432 align-self: flex-end; 433 } 434 435 .about__header-title { 436 min-height: 24em; 437 max-height: 32em; 438 height: 80vh; 439 padding: 0 32px; 450 align-items: flex-start; 451 justify-content: center; 452 text-align: center; 453 padding: 10vh 32px 15vh; 440 454 } 441 455 … … 446 460 line-height: 1; 447 461 font-weight: 500; 448 color: #1730e5;449 color: var(--accent-1);450 462 } 451 463 452 464 .about__header-title p span { 465 display: block; 466 font-size: 2em; 467 } 468 469 .about__header-text { 453 470 display: inline-block; 454 color: #216bce; 455 color: var(--accent-2); 456 } 457 458 .about__header-text { 459 padding: 16px 32px 32px; 471 margin-left: -16px; 472 padding: 16px 48px; 460 473 font-size: 1.5em; 461 474 line-height: 1.4; 475 background: #bc5131; 476 background: var(--accent-3); 477 color: #f2edd4; 478 color: var(--text-light); 462 479 } 463 480 … … 468 485 .about__header-navigation { 469 486 padding-top: 0; 470 background: # 216bce;487 background: #f2edd4; 471 488 background: var(--nav-background); 472 color: # f3f4f5;489 color: #bc5131; 473 490 color: var(--nav-color); 474 border-bottom: 3px solid # 1730e5;491 border-bottom: 3px solid #ebcd3d; 475 492 border-bottom: 3px solid var(--nav-border); 476 493 } … … 490 507 .about__header-navigation .nav-tab:hover, 491 508 .about__header-navigation .nav-tab:active { 492 background-color: #1730e5; 493 background-color: var(--accent-1); 509 background-color: #322d2b; 510 background-color: var(--text); 511 color: #f2edd4; 512 color: var(--text-light); 494 513 } 495 514 … … 497 516 margin-bottom: -3px; 498 517 border-width: 0 0 6px; 499 border-color: #b de7f0;500 border-color: var(-- accent-3);518 border-color: #bc5131; 519 border-color: var(--nav-current); 501 520 } 502 521 503 522 .about__header-navigation .nav-tab-active:hover, 504 523 .about__header-navigation .nav-tab-active:active { 505 background-color: #1730e5; 506 background-color: var(--accent-1); 507 border-color: #bde7f0; 508 border-color: var(--accent-3); 524 background-color: #322d2b; 525 background-color: var(--text); 526 color: #f2edd4; 527 color: var(--text-light); 528 border-color: #bc5131; 529 border-color: var(--nav-current); 509 530 } 510 531 … … 518 539 max-height: none; 519 540 height: auto; 520 /*521 * 60% is a "magic" number to create a top offset approx-equal to the height of the background image,522 * which scales to match the container width.523 */524 padding-top: 60%;525 541 } 526 542 … … 596 612 font-weight: 600; 597 613 text-decoration: none; 598 color: #32 373c;614 color: #322d2b; 599 615 color: var(--text); 600 616 } -
trunk/src/wp-admin/freedoms.php
r47558 r48675 25 25 26 26 <div class="about__header"> 27 <div class="about__header-text"> 28 <?php _e( 'Speed. Search. Security.' ); ?> 29 </div> 30 27 31 <div class="about__header-title"> 28 32 <p> 29 33 <?php _e( 'WordPress' ); ?> 30 34 <span><?php echo $display_version; ?></span> 31 </p>32 </div>33 34 <div class="about__header-text">35 <p>36 <?php _e( 'Building more with blocks, faster and easier.' ); ?>37 35 </p> 38 36 </div> -
trunk/src/wp-admin/privacy.php
r47521 r48675 19 19 20 20 <div class="about__header"> 21 <div class="about__header-text"> 22 <?php _e( 'Speed. Search. Security.' ); ?> 23 </div> 24 21 25 <div class="about__header-title"> 22 26 <p> 23 27 <?php _e( 'WordPress' ); ?> 24 28 <span><?php echo $display_version; ?></span> 25 </p>26 </div>27 28 <div class="about__header-text">29 <p>30 <?php _e( 'Building more with blocks, faster and easier.' ); ?>31 29 </p> 32 30 </div>
Note: See TracChangeset
for help on using the changeset viewer.