20 | | <h1> |
21 | | <?php |
22 | | printf( |
23 | | /* translators: %s: The current WordPress version number. */ |
24 | | __( 'Welcome to WordPress %s' ), |
25 | | $display_version |
26 | | ); |
27 | | ?> |
28 | | </h1> |
29 | | |
30 | | <p class="about-text"> |
31 | | <?php |
32 | | printf( |
33 | | /* translators: %s: The current WordPress version number. */ |
34 | | __( 'Congratulations on updating to WordPress %s! This update makes it easier than ever to fix your site if something goes wrong.' ), |
35 | | $display_version |
36 | | ); |
37 | | ?> |
38 | | </p> |
39 | | |
40 | | <div class="wp-badge"> |
41 | | <?php |
42 | | printf( |
43 | | /* translators: %s: The current WordPress version number. */ |
44 | | __( 'Version %s' ), |
45 | | $display_version |
46 | | ); |
47 | | ?> |
48 | | </div> |
49 | | |
50 | | <nav class="nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>"> |
51 | | <a href="about.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'What’s New' ); ?></a> |
52 | | <a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a> |
53 | | <a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a> |
54 | | <a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a> |
55 | | </nav> |
56 | | |
57 | | <div class="headline-feature"> |
58 | | <h2><?php _e( 'Keeping Your Site Safe' ); ?></h2> |
59 | | <p class="lead-description"><?php _e( 'WordPress 5.2 gives you even more robust tools for identifying and fixing configuration issues and fatal errors. Whether you are a developer helping clients or you manage your site solo, these tools can help get you the right information when you need it.' ); ?></p> |
60 | | <div class="inline-svg aligncenter"> |
61 | | <img src="https://s.w.org/images/core/5.2/about_maintain-wordpress-v2.svg" alt=""> |
| 26 | <div class="about__header"> |
| 27 | <div class="about__header-title"> |
| 28 | <h1 aria-label="<?php echo $version_label; ?>"> |
| 29 | <span><?php echo $display_version; ?></span> |
| 30 | WordPress <?php /* @todo Does this need translation? */ ?> |
| 31 | </h1> |
89 | | <div class="column"> |
90 | | <div class="inline-svg aligncenter"> |
91 | | <img src="https://s.w.org/images/core/5.2/about_site-health.svg" alt=""> |
92 | | </div> |
93 | | </div> |
| 55 | |
| 56 | <nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>"> |
| 57 | <a href="about.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'What’s New' ); ?></a> |
| 58 | <a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a> |
| 59 | <a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a> |
| 60 | <a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a> |
| 61 | </nav> |
| 62 | </div> |
| 63 | |
| 64 | <div class="about__section is-feature"> |
| 65 | <p> |
| 66 | <?php _e( '5.3 expands and refines the block editor introduced in WordPress 5.0 with new blocks, more intuitive interactions, and improved accessibility. New features in the editor increase design freedoms, provide additional layout options and style variations to allow designers complete control over the look of a site. This release also introduces the Twenty Twenty theme giving the user more design flexibility and integration with the Block Editor. Creating beautiful web pages and advanced layouts has never been easier.' ); ?> |
| 67 | </p> |
98 | | <div class="feature-section is-wide has-2-columns is-wider-right"> |
99 | | <div class="column"> |
100 | | <div class="inline-svg aligncenter"> |
101 | | <img src="https://s.w.org/images/core/5.2/about_error-protection.svg" alt=""> |
| 72 | <div class="about__section has-2-columns"> |
| 73 | <div class="column is-edge-to-edge has-accent-background-color"> |
| 74 | <div class="about__image aligncenter"> |
| 75 | <img src="data:image/svg+xml;utf8,%3Csvg width='660' height='818' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='99' y='178' width='132' height='132' fill='%23F4EFE1'/%3E%3Crect x='231' y='310' width='99' height='99' fill='%2344141E'/%3E%3Crect x='330' y='409' width='132' height='132' fill='%23F4EFE1'/%3E%3Crect x='462' y='541' width='99' height='99' fill='%2344141E'/%3E%3C/svg%3E" alt="" /> |
105 | | <h3><?php _e( 'PHP Error Protection' ); ?></h3> |
106 | | <p><?php _e( 'This administrator-focused update will let you safely fix or manage fatal errors without requiring a developer. It features better handling of the so-called “white screen of death”, and a way to enter recovery mode, which pauses error-causing plugins or themes.' ); ?></p> |
| 79 | <h3><?php _e( 'Block Editor Improvements' ); ?></h3> |
| 80 | <p> |
| 81 | <?php _e( 'This enhancement-focused update introduces over 150 new features and usability improvements, including improved large image support for uploading non-optimized, high-resolution pictures taken from your smartphone or other high-quality cameras. Combined with larger default image sizes, pictures always look their best.' ); ?> |
| 82 | </p> |
| 83 | |
| 84 | <p> |
| 85 | <?php _e( 'Accessibility improvements include the integration of block editor styles in the admin interface. These improved styles fix many accessibility issues: color contrast on form fields and buttons, consistency between editor and admin interfaces, new snackbar notices, standardizing to the default WordPress color scheme, and the introduction of Motion to make interacting with your blocks feel swift and natural. For people who use a keyboard to navigate the dashboard, the Block Editor now has a Navigation mode. This lets you jump from block to block without tabbing through every part of the block controls.' ); ?> |
| 86 | </p> |
110 | | <hr /> |
| 90 | <div class="about__section has-2-columns"> |
| 91 | <div class="column is-vertically-aligned-center"> |
| 92 | <h3><?php _e( 'Expanded Design Flexibility' ); ?></h3> |
| 93 | <p><?php _e( '“Name” adds even more robust tools for creating amazing designs.' ); ?></p> |
| 94 | <ul> |
| 95 | <li><?php _e( 'The new Group block lets you easily divide your page into colorful sections' ); ?></li> |
| 96 | <li><?php _e( 'The Columns block now supports fixed column widths' ); ?></li> |
| 97 | <li><?php _e( 'The new Predefined layouts make it a cinch to arrange content into advanced designs' ); ?></li> |
| 98 | <li><?php _e( 'Heading blocks now offer controls for text and background color' ); ?></li> |
| 99 | <li><?php _e( 'Additional style options allow you to set your preferred style for any block that supports this feature' ); ?></li> |
| 100 | </ul> |
| 101 | </div> |
| 102 | <div class="column is-edge-to-edge has-accent-background-color"> |
| 103 | <div class="about__image aligncenter"> |
| 104 | <img src="data:image/svg+xml;utf8,%3Csvg width='500' height='500' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='75' y='200' width='150' height='75' fill='%2344141E'/%3E%3Crect x='175' y='75' width='50' height='100' fill='%2385273B'/%3E%3Crect x='75' y='75' width='75' height='100' fill='%23F4EFE1'/%3E%3Crect x='250' y='200' width='175' height='75' fill='%2344141E'/%3E%3Crect x='350' y='75' width='75' height='100' fill='%2385273B'/%3E%3Crect x='250' y='75' width='75' height='100' fill='%23F4EFE1'/%3E%3Crect x='75' y='375' width='150' height='50' fill='%2344141E'/%3E%3Crect x='175' y='300' width='50' height='50' fill='%2385273B'/%3E%3Crect x='75' y='300' width='75' height='50' fill='%23F4EFE1'/%3E%3Crect x='250' y='372.5' width='175' height='52.5' fill='%2344141E'/%3E%3Crect x='350' y='300' width='75' height='50' fill='%2385273B'/%3E%3Crect x='250' y='300' width='75' height='50' fill='%23F4EFE1'/%3E%3C/svg%3E%0A" alt=""> |
| 105 | </div> |
| 106 | </div> |
| 107 | </div> |
114 | | <div class="has-2-columns"> |
115 | | <div class="column aligncenter"> |
116 | | <h4><?php _e( 'Accessibility Updates' ); ?></h4> |
117 | | <p><?php _e( 'A number of changes work together to improve contextual awareness and keyboard navigation flow for those using screen readers and other assistive technologies.' ); ?></p> |
| 114 | <p> |
| 115 | <?php |
| 116 | printf( |
| 117 | /* translators: 1: Link to the Inter font website. */ |
| 118 | __( 'As befits a theme called Twenty Twenty, clarity and readability is also a big focus. The theme includes the typeface <a href="%1$s">Inter</a>, designed by Rasmus Andersson. Inter comes in a Variable Font version, a first for default themes, which keeps load times short by containing all weights and styles of Inter in just two font files.' ), |
| 119 | 'https://rsms.me/inter/' |
| 120 | ); |
| 121 | ?> |
| 122 | </p> |
| 123 | </div> |
| 124 | <div class="column is-edge-to-edge"> |
| 125 | <div class="about__image aligncenter"> |
| 126 | <img src="https://cldup.com/rsaSI50LvZ.png" alt="" /> |
| 127 | </div> |
119 | | <div class="column aligncenter"> |
120 | | <h4><?php _e( 'New Dashboard Icons' ); ?></h4> |
121 | | <p><?php _e( 'Thirteen new icons include Instagram, a suite of icons for BuddyPress, and rotated Earth icons for global inclusion. Find them in the Dashboard and have some fun!' ); ?></p> |
| 129 | </div> |
| 130 | |
| 131 | <div class="about__section has-subtle-background-color"> |
| 132 | <div class="column is-edge-to-edge"> |
| 133 | <div class="about__image aligncenter"> |
| 134 | <img src="https://cldup.com/8AuwuFLW0J.png" alt="" /> |
| 135 | </div> |
135 | | <h4><a href="https://make.wordpress.org/core/2019/04/24/developer-focused-privacy-updates-in-5-2/"><?php _e( 'Privacy Updates' ); ?></a></h4> |
136 | | <p><?php _e( 'A new theme page template, a conditional function, and two CSS classes make designing and customizing the Privacy Policy page easier.' ); ?></p> |
| 149 | <h4><?php _e( 'Site Health Checks' ); ?></h4> |
| 150 | <p><?php _e( 'The improvements introduced in 5.3 make it even easier to identify issues. Expanded recommendations highlight areas that may need troubleshooting on your site from the Health Check screen.' ); ?></p> |
| 151 | </div> |
| 152 | <div class="column"> |
| 153 | <h4><?php _e( 'Admin Email Verification' ); ?></h4> |
| 154 | <p><?php _e( 'You’ll now be periodically asked to confirm that your admin email address is up to date when you log in as an administrator. This reduces the chance of getting locked out out of your site if you change your email address.' ); ?></p> |
139 | | <div class="has-2-columns is-fullwidth"> |
| 157 | |
| 158 | <div class="about__section"> |
| 159 | <div class="column is-edge-to-edge"> |
| 160 | <div class="about__image aligncenter"> |
| 161 | <img src="data:image/svg+xml;utf8,%3Csvg width='1000' height='498' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='865.463' y='36.8596' width='133.8' height='132.326' fill='%23942F44'/%3E%3Crect x='865.463' y='180.98' width='133.8' height='132.326' fill='%23942F44'/%3E%3Crect x='866.2' y='328.05' width='133.8' height='132.694' fill='%23942F44'/%3E%3Crect y='331.736' width='405.455' height='134.169' fill='%234E1521'/%3E%3Crect y='36.8596' width='405.455' height='129.008' fill='%234E1521'/%3E%3Crect y='184.298' width='387.025' height='133.8' fill='%234E1521'/%3E%3Crect x='719.13' y='34.6479' width='133.8' height='428.677' fill='%23BD3854'/%3E%3Crect x='571.323' y='18.4297' width='133.8' height='423.885' fill='%23BD3854'/%3E%3Crect x='423.516' y='35.0164' width='133.8' height='425.728' fill='%23BD3854'/%3E%3C/svg%3E" alt="" /> |
| 162 | </div> |
| 163 | </div> |
| 164 | </div> |
| 165 | |
| 166 | <hr /> |
| 167 | |
| 168 | <div class="about__section has-2-columns has-subtle-background-color"> |
| 169 | <h3 class="is-section-header"><?php _e( 'For Developers' ); ?></h3> |
| 170 | |
145 | | /* translators: 1: wp_body_open, 2: <body> */ |
146 | | __( '5.2 introduces a %1$s hook, which lets themes support injecting code right at the beginning of the %2$s element.' ), |
147 | | '<code>wp_body_open</code>', |
148 | | '<code><body></code>' |
| 176 | /* translators: 1: Link to the date/time developer notes. */ |
| 177 | __( 'Developers can now work with <a href="%1$s">dates and timezones</a> in a more reliable way. Date and time functionality has received a number of new API functions for unified timezone retrieval and PHP interoperability, as well as many bug fixes.' ), |
| 178 | 'https://make.wordpress.org/core/2019/09/23/date-time-improvements-wp-5-3/' |
154 | | <h4><a href="https://make.wordpress.org/core/2019/03/25/building-javascript/"><?php _e( 'Building JavaScript' ); ?></a></h4> |
155 | | <p><?php _e( 'With the addition of webpack and Babel configurations in the @wordpress/scripts package, developers won’t have to worry about setting up complex build tools to write modern JavaScript.' ); ?></p> |
| 184 | <h4><?php _e( 'PHP 7.4 Compatibility' ); ?></h4> |
| 185 | <p> |
| 186 | <?php |
| 187 | printf( |
| 188 | /* translators: 1: Link to the PHP 7 developer notes. */ |
| 189 | __( 'The WordPress core team is actively preparing to support PHP 7.4 when it is released later this year. WordPress 5.3 contains <a href="%1$s">multiple changes</a> to remove deprecated functionality and ensure compatibility. Please test 5.3 with PHP 7.4 to ensure all functionality continues to work as expected and does not raise any new warnings.' ), |
| 190 | 'https://make.wordpress.org/core/2019/10/11/wordpress-and-php-7-4/' |
| 191 | ); |
| 192 | ?> |
| 193 | </p> |