Changeset 60087 for trunk/src/wp-admin/about.php
- Timestamp:
- 03/25/2025 03:14:48 PM (9 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/about.php (modified) (13 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/about.php
r59374 r60087 14 14 $title = _x( 'About', 'page title' ); 15 15 16 list( $display_version ) = explode( '-', get_bloginfo( 'version' ) ); 16 list( $display_version ) = explode( '-', wp_get_wp_version() ); 17 $display_major_version = '6.8'; 17 18 18 19 $release_notes_url = sprintf( 19 20 /* translators: %s: WordPress version number. */ 20 21 __( 'https://wordpress.org/documentation/wordpress-version/version-%s/' ), 21 '6- 7'22 '6-8' 22 23 ); 23 24 … … 25 26 /* translators: %s: WordPress version number. */ 26 27 __( 'https://make.wordpress.org/core/wordpress-%s-field-guide/' ), 27 '6- 7'28 '6-8' 28 29 ); 29 30 … … 54 55 </nav> 55 56 56 <div class="about__section"> 57 <div class="column"> 58 <h2> 59 <?php 60 printf( 61 /* translators: %s: Version number. */ 62 __( 'Welcome to WordPress %s' ), 63 $display_version 64 ); 65 ?> 66 </h2> 67 <p class="is-subheading"> 68 <?php _e( 'WordPress 6.7 debuts the modern Twenty Twenty-Five theme, offering ultimate design flexibility for any blog at any scale. Control your site typography like never before with new font management features. The new Zoom Out feature lets you design your site with a macro view, stepping back from the details to bring the big picture to life.' ); ?> 69 </p> 70 </div> 71 </div> 72 73 <div class="about__section has-2-columns"> 74 <div class="column is-vertically-aligned-center"> 75 <h3><?php _e( 'Introducing Twenty Twenty-Five' ); ?></h3> 76 <p> 77 <strong><?php _e( 'Endless possibility without complexity' ); ?></strong><br /> 78 <?php _e( 'Twenty Twenty-Five offers a flexible, design-focused theme that lets you build stunning sites with ease. Tailor your aesthetic with an array of style options, block patterns, and color palettes. Pared down to the essentials, this is a theme that can truly grow with you.' ); ?> 79 </p> 80 </div> 81 <div class="column is-vertically-aligned-center"> 82 <div class="about__image"> 83 <img src="https://s.w.org/images/core/6.7/feature-tt5-2.webp" alt="" height="436" width="436" /> 84 </div> 85 </div> 86 </div> 87 88 <div class="about__section has-2-columns"> 89 <div class="column is-vertically-aligned-center"> 90 <div class="about__image"> 91 <img src="https://s.w.org/images/core/6.7/feature-zoom-2.webp" alt="" height="436" width="436" /> 92 </div> 93 </div> 94 <div class="column is-vertically-aligned-center"> 95 <h3><?php _e( 'Get the big picture with Zoom Out' ); ?></h3> 96 <p> 97 <strong><?php _e( 'Explore your content from a new perspective' ); ?></strong><br /> 98 <?php _e( 'Edit and arrange entire sections of your content like never before. A broader view of your site lets you add, edit, shuffle, or remove patterns to your liking. Embrace your inner architect.' ); ?> 99 </p> 100 </div> 101 </div> 102 103 <div class="about__section has-2-columns"> 104 <div class="column is-vertically-aligned-center"> 105 <h3><?php _e( 'Connect blocks and custom fields with no hassle (or code)' ); ?></h3> 106 <p> 107 <strong><?php _e( 'A streamlined way to create dynamic content' ); ?></strong><br /> 108 <?php _e( 'This feature introduces a new UI for connecting blocks to custom fields, putting control of dynamic content directly in the editor. Link blocks with fields in just a few clicks, enhancing flexibility and efficiency when building. Your clients will love you—as if they didn’t already.' ); ?> 109 </p> 110 </div> 111 <div class="column is-vertically-aligned-center"> 112 <div class="about__image"> 113 <img src="https://s.w.org/images/core/6.7/feature-block-bindings-2.webp" alt="" height="436" width="436" /> 114 </div> 115 </div> 116 </div> 117 118 <div class="about__section has-2-columns"> 119 <div class="column is-vertically-aligned-center"> 120 <div class="about__image"> 121 <img src="https://s.w.org/images/core/6.7/feature-font-presets-2.png" alt="" height="436" width="436" /> 122 </div> 123 </div> 124 <div class="column is-vertically-aligned-center"> 125 <h3><?php _e( 'Embrace your inner font nerd' ); ?></h3> 126 <p> 127 <strong><?php _e( 'New style section, new possibilities' ); ?></strong><br /> 128 <?php _e( 'Create, edit, remove, and apply font size presets with the next addition to the Styles interface. Override theme defaults or create your own custom font size, complete with fluid typography for responsive font scaling. Get into the details!' ); ?> 129 </p> 57 <div class="about__section has-1-column"> 58 <div class="column"> 59 <h2><?php _e( 'A release polished to a high sheen.' ); ?></h2> 60 <p class="is-subheading"><?php _e( 'WordPress 6.8 polishes and refines the tools you use every day, making your site faster, more secure, and easier to manage.' ); ?></p> 61 <p><?php _e( 'The Style Book now has a structured layout and works with Classic themes, giving you more control over global styles.' ); ?></p> 62 <p><?php _e( 'Speculative loading speeds up navigation by preloading links before users navigate to them, while bcrypt hashing strengthens password security automatically.' ); ?></p> 63 <p><?php _e( 'Behind the scenes, database optimizations improve performance, and a new security warning system helps prevent vulnerabilities before they become a problem.' ); ?></p> 64 </div> 65 </div> 66 67 <div class="about__section has-2-columns"> 68 <div class="column is-vertically-aligned-center"> 69 <h3><?php _e( 'The Style Book gets a cleaner look—and a few new tricks' ); ?></h3> 70 <p> 71 <?php _e( 'The Style Book has a new, structured layout and clearer labels, to make it even easier to edit colors, typography—almost all your site styles—in one place.' ); ?> 72 </p> 73 <?php if ( ! wp_is_block_theme() ) : ?> 74 <p> 75 <?php 76 if ( current_user_can( 'edit_theme_options' ) && ( current_theme_supports( 'editor-styles' ) || wp_theme_has_theme_json() ) ) { 77 printf( 78 /* translators: %s is a direct link to the Style Book. */ 79 __( 'Plus, now you can see it in Classic themes that have editor-styles or a theme.json file. Find <a href="%s">the Style Book</a> under Appearance > Design and use it to preview your theme’s evolution, as you edit CSS or make changes in the Customizer.' ), 80 add_query_arg( 'p', '/stylebook', admin_url( '/site-editor.php' ) ) 81 ); 82 } else { 83 _e( 'Plus, now you can see it in Classic themes that have editor-styles or a theme.json file. Find the Style Book under Appearance > Design and use it to preview your theme’s evolution, as you edit CSS or make changes in the Customizer.' ); 84 } 85 ?> 86 </p> 87 <?php endif; ?> 88 </div> 89 <div class="column is-vertically-aligned-center"> 90 <div class="about__image"> 91 <img src="https://make.wordpress.org/core/files/2025/03/about-68-feature-01.png" alt="" height="436" width="436" /> 92 </div> 93 </div> 94 </div> 95 96 <div class="about__section has-2-columns"> 97 <div class="column is-vertically-aligned-center"> 98 <div class="about__image"> 99 <img src="https://make.wordpress.org/core/files/2025/03/about-68-feature-02.png" alt="" height="436" width="436" /> 100 </div> 101 </div> 102 <div class="column is-vertically-aligned-center"> 103 <h3><?php _e( 'Editor improvements' ); ?></h3> 104 <p><?php _e( 'Easier ways to see your options in Data Views, and you can exclude sticky posts from the Query Loop. Plus, you’ll find lots of little improvements in the editor that smooth your way through everything you build.' ); ?></p> 105 </div> 106 </div> 107 108 <div class="about__section has-2-columns"> 109 <div class="column is-vertically-aligned-center"> 110 <h3><?php _e( 'Near-instant page loads, thanks to Speculative Loading' ); ?></h3> 111 <p><?php _e( 'In WordPress 6.8, pages load faster than ever. When you or your user hovers over or clicks a link, WordPress may preload the next page, for a smoother, near-instant experience. The system balances speed and efficiency, and you can control how it works, with a plugin or your own code. This feature only works in modern browsers—older ones will simply ignore it without any impact.' ); ?></p> 112 </div> 113 <div class="column is-vertically-aligned-center"> 114 <div class="about__image"> 115 <img src="https://make.wordpress.org/core/files/2025/03/about-68-feature-03.png" alt="" height="436" width="436" /> 116 </div> 117 </div> 118 </div> 119 120 <div class="about__section has-2-columns"> 121 <div class="column is-vertically-aligned-center"> 122 <div class="about__image"> 123 <img src="https://make.wordpress.org/core/files/2025/03/about-68-feature-04.png" alt="" height="436" width="436" /> 124 </div> 125 </div> 126 <div class="column is-vertically-aligned-center"> 127 <h3><?php _e( 'Stronger password security with bcrypt' ); ?></h3> 128 <p><?php _e( 'Now passwords are harder to crack with bcrypt hashing, which takes a lot more computing power to break. This strengthens overall security, as do other encryption improvements across WordPress. You don’t need to do anything—everything updates automatically.' ); ?></p> 130 129 </div> 131 130 </div> … … 134 133 135 134 <div class="about__section has-2-columns"> 135 <div class="column"> 136 <div class="about__image"> 137 <svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"> 138 <path fill="#1e1e1e" d="M24 13.84c-.752 0-1.397-.287-1.936-.86a2.902 2.902 0 0 1-.809-2.06c0-.8.27-1.487.809-2.06S23.248 8 24 8c.753 0 1.398.287 1.937.86.54.573.809 1.26.809 2.06s-.27 1.487-.809 2.06-1.184.86-1.937.86ZM19.976 40V18.68a69.562 69.562 0 0 1-4.945-.56 45.877 45.877 0 0 1-4.57-.92l.565-2.4a46.79 46.79 0 0 0 6.356 1.14c2.106.227 4.312.34 6.618.34 2.307 0 4.513-.113 6.62-.34a46.786 46.786 0 0 0 6.355-1.14l.564 2.4c-1.454.373-2.977.68-4.57.92a69.55 69.55 0 0 1-4.945.56V40h-2.256V29.6h-3.535V40h-2.257Z"/> 139 </svg> 140 </div> 141 <h3><?php _e( 'Accessibility improvements' ); ?></h3> 142 <p><?php _e( '100+ accessibility fixes and enhancements touch a broad spectrum of the WordPress experience. This release includes fixes to every bundled theme, improvements to the navigation menu management, the customizer, and simplified labeling. The Block Editor has over 70 improvements to blocks, DataViews, and to its overall user experience.' ); ?></p> 143 </div> 144 <div class="column"> 145 <div class="about__image"> 146 <svg width="48" height="48" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"> 147 <path fill="#1e1e1e" d="M18.1823 11.6392C18.1823 13.0804 17.0139 14.2487 15.5727 14.2487C14.3579 14.2487 13.335 13.4179 13.0453 12.2922L13.0377 12.2625L13.0278 12.2335L12.3985 10.377L12.3942 10.3785C11.8571 8.64997 10.246 7.39405 8.33961 7.39405C5.99509 7.39405 4.09448 9.29465 4.09448 11.6392C4.09448 13.9837 5.99509 15.8843 8.33961 15.8843C8.88499 15.8843 9.40822 15.781 9.88943 15.5923L9.29212 14.0697C8.99812 14.185 8.67729 14.2487 8.33961 14.2487C6.89838 14.2487 5.73003 13.0804 5.73003 11.6392C5.73003 10.1979 6.89838 9.02959 8.33961 9.02959C9.55444 9.02959 10.5773 9.86046 10.867 10.9862L10.8772 10.9836L11.4695 12.7311C11.9515 14.546 13.6048 15.8843 15.5727 15.8843C17.9172 15.8843 19.8178 13.9837 19.8178 11.6392C19.8178 9.29465 17.9172 7.39404 15.5727 7.39404C15.0287 7.39404 14.5066 7.4968 14.0264 7.6847L14.6223 9.20781C14.9158 9.093 15.2358 9.02959 15.5727 9.02959C17.0139 9.02959 18.1823 10.1979 18.1823 11.6392Z"></path> 148 </svg> 149 </div> 150 <h3><?php _e( 'Take a load off the database' ); ?></h3> 151 <p><?php _e( 'Work continues on optimizing cache key generation in the <code>WP_Query</code> class. The goal is, as ever, to boost your site’s performance, in this case by taking some more of the load off your database. This is especially good if you get a lot of traffic.' ); ?></p> 152 </div> 153 </div> 154 155 <div class="about__section has-1-column"> 136 156 <div class="column"> 137 157 <div class="about__image"> … … 142 162 </div> 143 163 <h3><?php _e( 'Performance updates' ); ?></h3> 144 <p><?php _e( 'WordPress 6.7 delivers important performance updates, including faster pattern loading, optimized previews in the data views component, improved PHP 8+ support and removal of deprecated code, auto sizes for lazy-loaded images, and more efficient tag processing in the HTML API.' ); ?></p> 145 </div> 146 <div class="column"> 147 <div class="about__image"> 148 <svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"> 149 <path fill="#1e1e1e" d="M24 13.84c-.752 0-1.397-.287-1.936-.86a2.902 2.902 0 0 1-.809-2.06c0-.8.27-1.487.809-2.06S23.248 8 24 8c.753 0 1.398.287 1.937.86.54.573.809 1.26.809 2.06s-.27 1.487-.809 2.06-1.184.86-1.937.86ZM19.976 40V18.68a69.562 69.562 0 0 1-4.945-.56 45.877 45.877 0 0 1-4.57-.92l.565-2.4a46.79 46.79 0 0 0 6.356 1.14c2.106.227 4.312.34 6.618.34 2.307 0 4.513-.113 6.62-.34a46.786 46.786 0 0 0 6.355-1.14l.564 2.4c-1.454.373-2.977.68-4.57.92a69.55 69.55 0 0 1-4.945.56V40h-2.256V29.6h-3.535V40h-2.257Z"/> 150 </svg> 151 </div> 152 <h3><?php _e( 'Accessibility improvements' ); ?></h3> 153 <p><?php _e( '65+ accessibility fixes and enhancements focus on foundational aspects of the WordPress experience, from improving user interface components and keyboard navigation in the Editor, to an accessible heading on WordPress login screens and clearer labeling throughout.' ); ?></p> 164 <p><?php _e( 'WordPress 6.8 packs a wide range of performance fixes and enhancements to speed up everything from editing to browsing. Beyond speculative loading, WordPress 6.8 pays special attention to the block editor, block type registration, and query caching. Plus, imagine never waiting longer than 50 milliseconds—for any interaction. In WordPress 6.8, the Interactivity API takes a first step toward that goal.' ); ?></p> 154 165 </div> 155 166 </div> … … 165 176 /* translators: %s: Version number. */ 166 177 __( 'For a comprehensive overview of all the new features and enhancements in WordPress %s, please visit the feature-showcase website.' ), 167 $display_ version178 $display_major_version 168 179 ); 169 180 ?> … … 172 183 <div class="column aligncenter"> 173 184 <div class="about__image"> 174 <a href="<?php echo esc_url( __( 'https://wordpress.org/download/releases/6- 7/' ) ); ?>" class="button button-primary button-hero"><?php _e( 'See everything new' ); ?></a>185 <a href="<?php echo esc_url( __( 'https://wordpress.org/download/releases/6-8/' ) ); ?>" class="button button-primary button-hero"><?php _e( 'See everything new' ); ?></a> 175 186 </div> 176 187 </div> … … 181 192 <div class="about__section has-3-columns"> 182 193 <div class="column about__image is-vertically-aligned-top"> 183 <img src="<?php echo esc_url( admin_url( 'images/about-release-badge.svg?ver=6. 7' ) ); ?>" alt="" height="280" width="280" />194 <img src="<?php echo esc_url( admin_url( 'images/about-release-badge.svg?ver=6.8' ) ); ?>" alt="" height="280" width="280" /> 184 195 </div> 185 196 <div class="column is-vertically-aligned-center" style="grid-column-end:span 2"> … … 189 200 /* translators: %s: Version number. */ 190 201 __( 'Learn more about WordPress %s' ), 191 $display_ version202 $display_major_version 192 203 ); 193 204 ?> … … 220 231 /* translators: %s: WordPress version number. */ 221 232 __( 'WordPress %s Release Notes' ), 222 '6.7'233 $display_major_version 223 234 ); 224 235 ?> … … 230 241 /* translators: %s: WordPress version number. */ 231 242 __( 'Read the WordPress %s Release Notes for information on installation, enhancements, fixed issues, release contributors, learning resources, and the list of file changes.' ), 232 '6.7'243 $display_major_version 233 244 ); 234 245 ?> … … 247 258 /* translators: %s: WordPress version number. */ 248 259 __( 'WordPress %s Field Guide' ), 249 '6.7'260 $display_major_version 250 261 ); 251 262 ?> … … 257 268 /* translators: %s: WordPress version number. */ 258 269 __( 'Explore the WordPress %s Field Guide. Learn about the changes in this release with detailed developer notes to help you build with WordPress.' ), 259 '6.7'270 $display_major_version 260 271 ); 261 272 ?>
Note: See TracChangeset
for help on using the changeset viewer.