Changeset 43913
- Timestamp:
- 11/21/2018 02:38:17 AM (6 years ago)
- Location:
- branches/5.0/src/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0/src/wp-admin/about.php
r43772 r43913 17 17 list( $display_version ) = explode( '-', get_bloginfo( 'version' ) ); 18 18 19 wp_enqueue_style( 'wp-block-library' ); 20 19 21 include( ABSPATH . 'wp-admin/admin-header.php' ); 20 22 ?> … … 22 24 <h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1> 23 25 24 <p class="about-text"><?php printf( __( 'Thank you for updating to the latest version! WordPress %s will smooth your design workflow and keep you safe from coding errors.' ), $display_version ); ?></p> 26 <p class="about-text"><?php printf( __( 'Thank you for updating to the latest version! WordPress %s introduces a robust new content creation experience.' ), $display_version ); ?></p> 27 <p class="about-text"> 28 <a href="#classic-editor"><?php _e( 'Learn how to keep using the old editor.' ); ?></a> 29 </p> 25 30 <div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div> 26 31 … … 32 37 </h2> 33 38 34 <div class="changelog point-releases"> 35 <h3><?php _e( 'Maintenance and Security Releases' ); ?></h3> 36 <p> 37 <?php 38 printf( 39 /* translators: 1: WordPress version number, 2: plural number of bugs. */ 40 _n( 41 '<strong>Version %1$s</strong> addressed %2$s bug.', 42 '<strong>Version %1$s</strong> addressed %2$s bugs.', 43 46 44 ), 45 '4.9.8', 46 number_format_i18n( 46 ) 47 ); 48 ?> 49 <?php 50 /* translators: %s: Codex URL */ 51 printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.9.8' ); 52 ?> 53 </p> 54 <p> 55 <?php 56 printf( 57 /* translators: 1: WordPress version number, 2: plural number of bugs. */ 58 _n( 59 '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.', 60 '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.', 61 17 62 ), 63 '4.9.7', 64 number_format_i18n( 17 ) 65 ); 66 ?> 67 <?php 68 /* translators: %s: Codex URL */ 69 printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.9.7' ); 70 ?> 71 </p> 72 <p> 73 <?php 74 printf( 75 /* translators: 1: WordPress version number, 2: plural number of bugs. */ 76 _n( 77 '<strong>Version %1$s</strong> addressed %2$s bug.', 78 '<strong>Version %1$s</strong> addressed %2$s bugs.', 79 18 80 ), 81 '4.9.6', 82 number_format_i18n( 18 ) 83 ); 84 ?> 85 <?php 86 /* translators: %s: Codex URL */ 87 printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.9.6' ); 88 ?> 89 </p> 90 <p> 91 <?php 92 printf( 93 /* translators: 1: WordPress version number, 2: plural number of bugs. */ 94 _n( 95 '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.', 96 '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.', 97 28 98 ), 99 '4.9.5', 100 number_format_i18n( 28 ) 101 ); 102 ?> 103 <?php 104 /* translators: %s: Codex URL */ 105 printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.9.5' ); 106 ?> 107 </p> 108 <p> 109 <?php 110 printf( 111 /* translators: 1: WordPress version number, 2: plural number of bugs. */ 112 _n( 113 '<strong>Version %1$s</strong> addressed %2$s bug.', 114 '<strong>Version %1$s</strong> addressed %2$s bugs.', 115 1 116 ), 117 '4.9.4', 118 number_format_i18n( 1 ) 119 ); 120 ?> 121 <?php 122 /* translators: %s: Codex URL */ 123 printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.9.4' ); 124 ?> 125 </p> 126 <p> 127 <?php 128 printf( 129 /* translators: 1: WordPress version number, 2: plural number of bugs. */ 130 _n( 131 '<strong>Version %1$s</strong> addressed %2$s bug.', 132 '<strong>Version %1$s</strong> addressed %2$s bugs.', 133 34 134 ), 135 '4.9.3', 136 number_format_i18n( 34 ) 137 ); 138 ?> 139 <?php 140 /* translators: %s: Codex URL */ 141 printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.9.3' ); 142 ?> 143 </p> 144 <p> 145 <?php 146 printf( 147 /* translators: 1: WordPress version number, 2: plural number of bugs. */ 148 _n( 149 '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.', 150 '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.', 151 22 152 ), 153 '4.9.2', 154 number_format_i18n( 22 ) 155 ); 156 ?> 157 <?php 158 /* translators: %s: Codex URL */ 159 printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.9.2' ); 160 ?> 161 </p> 162 <p> 163 <?php 164 printf( 165 /* translators: 1: WordPress version number, 2: plural number of bugs. */ 166 _n( 167 '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.', 168 '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.', 169 11 170 ), 171 '4.9.1', 172 number_format_i18n( 11 ) 173 ); 174 ?> 175 <?php 176 /* translators: %s: Codex URL */ 177 printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.9.1' ); 178 ?> 179 </p> 180 </div> 181 182 <div class="feature-section one-col"> 183 <div class="col"> 184 <h2> 185 <?php 186 printf( 187 /* translators: %s: party popper emoji */ 188 __( 'Major Customizer Improvements, Code Error Checking, and More! %s' ), 189 '🎉' 190 ); 191 ?> 192 </h2> 193 <p><?php _e( 'Welcome to an improved Customizer workflow with design drafts, locking, scheduling, and preview links. What’s more, code syntax highlighting and error checking will make for a clean and smooth site building experience. Finally, if all that wasn’t pretty great, we’ve got a great new Gallery widget and improvements to theme browsing and switching.' ); ?></p> 194 </div> 195 </div> 196 197 <div class="inline-svg full-width"> 198 <picture> 199 <source media="(max-width: 500px)" srcset="<?php echo 'https://s.w.org/images/core/4.9/banner-mobile.svg'; ?>"> 200 <img src="https://s.w.org/images/core/4.9/banner.svg" alt=""> 201 </picture> 202 </div> 203 204 <div class="floating-header-section"> 205 <div class="section-header"> 206 <h2><?php _e( 'Customizer Workflow Improved' ); ?></h2> 207 </div> 208 209 <div class="section-content"> 210 <div class="section-item"> 211 <div class="inline-svg"> 212 <img src="https://s.w.org/images/core/4.9/draft-and-schedule.svg" alt=""> 213 </div> 214 <h3><?php _e( 'Draft and Schedule Site Design Customizations' ); ?></h3> 215 <p><?php _e( 'Yes, you read that right. Just like you can draft and revise posts and schedule them to go live on the date and time you choose, you can now tinker with your site’s design and schedule those design changes to go live as you please.' ); ?></p> 39 <div class="feature-section one-col"> 40 <div class="col"> 41 <h2><?php _e( 'Say Hello to the New Editor' ); ?></h2> 42 </div> 43 </div> 44 45 <div class="full-width"> 46 <img src="https://wordpress.org/gutenberg/files/2018/11/gutenberg-sketch.png" alt=""> 47 </div> 48 49 <div class="feature-section one-col"> 50 <div class="col"> 51 <p><?php _e( 'You’ve successfully upgraded to WordPress 5.0! We’ve made some big changes to the editor. Our new block-based editor is the first step toward an exciting new future with a streamlined editing experience across your site. You’ll have more flexibility with how content is displayed, whether you are building your first site, revamping your blog, or write code for a living.' ); ?></p> 52 </div> 53 </div> 54 55 <div class="feature-section four-col"> 56 <div class="col"> 57 <figure> 58 <img src="https://wordpress.org/gutenberg/files/2018/07/Plugin-1-1.gif" alt=""/> 59 <figcaption><?php _e( 'Do more with fewer plugins.' ); ?></figcaption> 60 </figure> 61 </div> 62 <div class="col"> 63 <figure> 64 <img src="https://wordpress.org/gutenberg/files/2018/07/Layout-3.gif" alt=""/> 65 <figcaption><?php _e( 'Create modern, multimedia-heavy layouts.' ); ?></figcaption> 66 </figure> 67 </div> 68 <div class="col"> 69 <figure> 70 <img src="https://wordpress.org/gutenberg/files/2018/07/Devices-1-1.gif" alt=""/> 71 <figcaption><?php _e( 'Work across all screen sizes and devices.' ); ?></figcaption> 72 </figure> 73 </div> 74 <div class="col"> 75 <figure> 76 <img src="https://wordpress.org/gutenberg/files/2018/07/Visual-1.gif" alt=""/> 77 <figcaption><?php _e( 'Trust that your editor looks like your website.' ); ?></figcaption> 78 </figure> 79 </div> 80 </div> 81 82 <div class="feature-section one-col"> 83 <div class="col"> 84 <h2><?php _e( 'Building with Blocks' ); ?></h2> 85 <p><?php _e( 'The new block-based editor won’t change the way any of your content looks to your visitors. What it will do is let you insert any type of multimedia in a snap and rearrange to your heart’s content. Each piece of content will be in its own block; a distinct wrapper for easy maneuvering. If you’re more of an HTML and CSS sort of person, then the blocks won’t stand in your way. WordPress is here to simplify the process, not the outcome.' ); ?></p> 86 <video controls autoplay loop> 87 <source src="https://wordpress.org/gutenberg/files/2018/11/add-block.mp4" type="video/mp4"> 88 <source src="https://wordpress.org/gutenberg/files/2018/11/add-block.webm" type="video/webm"> 89 <p><?php printf( __('Your browser doesn’t support HTML5 video. Here is a %1$slink to the video%2$s instead.'), '<a href="https://wordpress.org/gutenberg/files/2018/11/add-block.mp4">', '</a>'); ?></p> 90 </video> 91 <p><?php _e( 'We have tons of blocks available by default, and more get added by the community every day. Here are a few of the blocks to help you get started:' ); ?></p> 92 </div> 93 </div> 94 95 <div class="feature-section eight-col"> 96 <div class="col"> 97 <figure> 98 <img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon.png" alt=""/> 99 <figcaption><?php _e( 'Paragraph' ); ?></figcaption> 100 </figure> 101 </div> 102 <div class="col"> 103 <figure> 104 <img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Heading.png" alt=""/> 105 <figcaption><?php _e( 'Heading' ); ?></figcaption> 106 </figure> 107 </div> 108 <div class="col"> 109 <figure> 110 <img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Subheading.png" alt=""/> 111 <figcaption><?php _e( 'Preformatted' ); ?></figcaption> 112 </figure> 113 </div> 114 <div class="col"> 115 <figure> 116 <img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Quote.png" alt=""/> 117 <figcaption><?php _e( 'Quote' ); ?></figcaption> 118 </figure> 119 </div> 120 <div class="col"> 121 <figure> 122 <img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Image.png" alt=""/> 123 <figcaption><?php _e( 'Image' ); ?></figcaption> 124 </figure> 125 </div> 126 <div class="col"> 127 <figure> 128 <img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Gallery.png" alt=""/> 129 <figcaption><?php _e( 'Gallery' ); ?></figcaption> 130 </figure> 131 </div> 132 <div class="col"> 133 <figure> 134 <img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Cover-Image.png" alt=""/> 135 <figcaption><?php _e( 'Cover Image' ); ?></figcaption> 136 </figure> 137 </div> 138 <div class="col"> 139 <figure> 140 <img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Video.png" alt=""/> 141 <figcaption><?php _e( 'Video' ); ?></figcaption> 142 </figure> 143 </div> 144 <div class="col"> 145 <figure> 146 <img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Audio.png" alt=""/> 147 <figcaption><?php _e( 'Audio' ); ?></figcaption> 148 </figure> 149 </div> 150 <div class="col"> 151 <figure> 152 <img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Column.png" alt=""/> 153 <figcaption><?php _e( 'Columns' ); ?></figcaption> 154 </figure> 155 </div> 156 <div class="col"> 157 <figure> 158 <img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-File.png" alt=""/> 159 <figcaption><?php _e( 'File' ); ?></figcaption> 160 </figure> 161 </div> 162 <div class="col"> 163 <figure> 164 <img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Code.png" alt=""/> 165 <figcaption><?php _e( 'Code' ); ?></figcaption> 166 </figure> 167 </div> 168 <div class="col"> 169 <figure> 170 <img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-List.png" alt=""/> 171 <figcaption><?php _e( 'List' ); ?></figcaption> 172 </figure> 173 </div> 174 <div class="col"> 175 <figure> 176 <img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Button.png" alt=""/> 177 <figcaption><?php _e( 'Button' ); ?></figcaption> 178 </figure> 179 </div> 180 <div class="col"> 181 <figure> 182 <img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Embeds.png" alt=""/> 183 <figcaption><?php _e( 'Embeds' ); ?></figcaption> 184 </figure> 185 </div> 186 <div class="col"> 187 <figure> 188 <img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-More.png" alt=""/> 189 <figcaption><?php _e( 'More' ); ?></figcaption> 190 </figure> 191 </div> 192 </div> 193 194 <div class="feature-section one-col"> 195 <div class="col"> 196 <h2><?php _e( 'Freedom to Build, Freedom to Write' ); ?></h2> 197 <p><?php _e( 'This new editing experience provides a more consistent treatment of design as well as content. If you’re building client sites, you can create reusable blocks. This lets your clients add new content anytime, while still maintaining a consistent look and feel.' ); ?></p> 198 <video controls autoplay loop> 199 <source src="https://wordpress.org/gutenberg/files/2018/11/build.mp4" type="video/mp4"> 200 <source src="https://wordpress.org/gutenberg/files/2018/11/build.webm" type="video/webm"> 201 <p><?php printf( __('Your browser doesn’t support HTML5 video. Here is a %1$slink to the video%2$s instead.'), '<a href="https://wordpress.org/gutenberg/files/2018/11/build.mp4">', '</a>'); ?></p> 202 </video> 203 </div> 204 </div> 205 206 <div class="feature-section one-col cta"> 207 <div class="col"> 208 <a class="button button-primary button-hero" href="<?php echo esc_url( admin_url( 'post-new.php' ) ); ?>"><?php _e( 'Build your first post' ); ?></a> 209 </div> 210 </div> 211 212 <hr /> 213 214 <div class="feature-section one-col"> 215 <div class="col"> 216 <h2><?php _e( 'A Stunning New Default Theme' ); ?></h2> 217 </div> 218 </div> 219 220 <div class="full-width"> 221 <figure> 222 <img src="https://wordpress.org/gutenberg/files/2018/11/twenty-nineteen.png" alt=""> 223 <figcaption><?php _e( 'The front-end of Twenty Nineteen on the left, and how it looks in the editor on the right.' ); ?></figcaption> 224 </figure> 225 </div> 226 227 <div class="feature-section one-col"> 228 <div class="col"> 229 <p><?php _e( 'Introducing Twenty Nineteen, a new default theme that shows off the power of the new editor.' ); ?></p> 230 </div> 231 </div> 232 233 <div class="feature-section three-col"> 234 <div class="col"> 235 <img src="https://wordpress.org/gutenberg/files/2018/11/twenty-nineteen-gutenberg.png" alt=""> 236 <h3><?php _e( 'Designed for the block editor' ); ?></h3> 237 <p><?php _e( 'Twenty Nineteen features custom styles for the blocks available by default in 5.0. It makes extensive use of editor styles throughout the theme. That way, what you create in your content editor is what you see on the front of your site.' ); ?></p> 238 </div> 239 <div class="col"> 240 <img src="https://wordpress.org/gutenberg/files/2018/11/twenty-nineteen-type.png" alt=""> 241 <h3><?php _e( 'Simple, type-driven layout' ); ?></h3> 242 <p><?php _e( 'Featuring ample whitespace, and modern sans-serif headlines paired with classic serif body text, Twenty Nineteen is built to be beautiful on the go. It uses system fonts to increase loading speed. No more long waits on slow networks!' ); ?></p> 243 </div> 244 <div class="col"> 245 <img src="https://wordpress.org/gutenberg/files/2018/11/three-3seconds.gif" alt=""> 246 <h3><?php _e( 'Versatile design for all sites' ); ?></h3> 247 <p><?php _e( 'Twenty Nineteen is designed to work for a wide variety of use cases. Whether you’re running a photo blog, launching a new business, or supporting a non-profit, Twenty Nineteen is flexible enough to fit your needs.' ); ?></p> 248 </div> 249 </div> 250 251 <div class="feature-section one-col cta"> 252 <div class="col"> 253 <a class="button button-primary button-hero load-customize hide-if-no-customize" href="<?php echo esc_url( admin_url( 'customize.php?theme=twentynineteen' ) ); ?>"><?php _e( 'Give Twenty Nineteen a try' ); ?></a> 254 </div> 255 </div> 256 257 <hr /> 258 259 <div class="under-the-hood feature-section"> 260 <div class="col"> 261 <h2><?php _e( 'Developer Happiness' ); ?></h2> 262 </div> 263 </div> 264 265 <div class="under-the-hood feature-section three-col"> 266 <div class="col"> 267 <h3><?php _e( 'Protect' ); ?></h3> 268 <p><?php _e( 'Blocks provide a comfortable way for users to change content directly, while also ensuring the content structure cannot be easily disturbed by accidental code edits. This allows the developer to control the output, building polished and semantic markup that is preserved through edits and not easily broken.' ); ?></p> 269 </div> 270 <div class="col"> 271 <h3><?php _e( 'Compose' ); ?></h3> 272 <p><?php _e( 'Take advantage of a wide collection of APIs and interface components to easily create blocks with intuitive controls for your clients. Utilizing these components not only speeds up development work but also provide a more consistent, usable, and accessible interface to all users.' ); ?></p> 273 </div> 274 <div class="col"> 275 <h3><?php _e( 'Create' ); ?></h3> 276 <p><?php _e( 'The new block paradigm opens up a path of exploration and imagination when it comes to solving user needs. With the unified block insertion flow, it’s easier for your clients and customers to find and use blocks for all types of content. Developers can focus on executing their vision and providing rich editing experiences, rather than fussing with difficult APIs.' ); ?></p> 277 </div> 278 </div> 279 280 <div class="under-the-hood feature-section one-col cta"> 281 <div class="col"> 282 <a class="button button-primary button-hero" href="<?php echo esc_url( 'https://wordpress.org/gutenberg/handbook/' ); ?>"><?php _e( 'Learn how to get started' ); ?></a> 283 </div> 284 </div> 285 286 <hr /> 287 288 <div class="feature-section one-col" id="classic-editor"> 289 <div class="col"> 290 <h2><?php _e( 'Keep it Classic' ); ?></h2> 291 </div> 292 </div> 293 294 <div class="full-width"> 295 <img src="https://wordpress.org/gutenberg/files/2018/11/classic.png" alt=""> 296 </div> 297 298 <div class="feature-section one-col"> 299 <div class="col"> 300 <p><?php _e( 'Prefer to stick with the familiar Classic Editor? No problem! Support for the Classic Editor plugin will remain in WordPress until 2021.' ); ?></p> 301 <p><?php _e( 'The Classic Editor plugin restores the previous WordPress editor and the Edit Post screen. It lets you keep using plugins that extend it, add old-style meta boxes, or otherwise depend on the previous editor. To install, visit your plugins page and click the “Install Now” button next to “Classic Editor.” After the plugin finishes installing, click “Activate.” That’s it! ' ); ?></p> 302 <p><em><?php _e( 'Note to users of assistive technology: if you experience usability issues with Gutenberg, we recommend you continue to use the Classic Editor.' ); ?></em></p> 303 <div class="col cta"> 304 <a class="button button-primary button-hero" href="<?php echo esc_url( self_admin_url( 'plugin-install.php?tab=featured' ) ); ?>"><?php _e( 'Install the Classic Editor' ); ?></a> 216 305 </div> 217 <div class="section-item"> 218 <div class="inline-svg"> 219 <img src="https://s.w.org/images/core/4.9/design-preview-links.svg" alt=""> 220 </div> 221 <h3><?php _e( 'Collaborate with Design Preview Links' ); ?></h3> 222 <p><?php _e( 'Need to get some feedback on proposed site design changes? WordPress 4.9 gives you a preview link you can send to your team and customers so that you can collect and integrate feedback before you schedule the changes to go live. Can we say collaboration++?' ); ?></p> 223 </div> 224 <div class="section-item"> 225 <div class="inline-svg"> 226 <img src="https://s.w.org/images/core/4.9/locking.svg" alt=""> 227 </div> 228 <h3><?php _e( 'Design Locking To Guard Your Changes' ); ?></h3> 229 <p><?php _e( 'Ever encounter a scenario where two designers walk into a project and designer A overrides designer B’s beautiful changes? WordPress 4.9’s design lock feature (similar to post locking) secures your draft design so that no one can make changes to it or erase all your hard work.' );?></p> 230 </div> 231 <div class="section-item"> 232 <div class="inline-svg"> 233 <img src="https://s.w.org/images/core/4.9/prompt.svg" alt=""> 234 </div> 235 <h3><?php _e( 'A Prompt to Protect Your Work' ); ?></h3> 236 <p><?php _e( 'Were you lured away from your desk before you saved your new draft design? Fear not, when you return, WordPress 4.9 will politely ask whether or not you’d like to save your unsaved changes.' ); ?></p> 237 </div> 238 </div> 239 </div> 240 241 <div class="floating-header-section"> 242 <div class="section-header"> 243 <h2><?php _e( 'Coding Enhancements' ); ?></h2> 244 </div> 245 246 <div class="section-content"> 247 <div class="section-item"> 248 <div class="inline-svg"> 249 <img src="https://s.w.org/images/core/4.9/syntax-highlighting.svg" alt=""> 250 </div> 251 <h3><?php _e( 'Syntax Highlighting and Error Checking? Yes, Please!' ); ?></h3> 252 <p><?php _e( 'You’ve got a display problem but can’t quite figure out exactly what went wrong in the CSS you lovingly wrote. With syntax highlighting and error checking for CSS editing and the Custom HTML widget introduced in WordPress 4.8.1, you’ll pinpoint coding errors quickly. Practically guaranteed to help you scan code more easily and suss out and fix code errors quickly.' ); ?></p> 253 </div> 254 <div class="section-item"> 255 <div class="inline-svg"> 256 <img src="https://s.w.org/images/core/4.9/sandbox.svg" alt=""> 257 </div> 258 <h3><?php _e( 'Sandbox for Safety' ); ?></h3> 259 <p><?php _e( 'The dreaded white screen. You’ll avoid it when working on themes and plugin code because WordPress 4.9 will warn you about saving an error. You’ll sleep better at night.' ); ?></p> 260 </div> 261 <div class="section-item"> 262 <div class="inline-svg"> 263 <img src="https://s.w.org/images/core/4.9/warning.svg" alt=""> 264 </div> 265 <h3><?php _e( 'Warning: Potential Danger Ahead!' ); ?></h3> 266 <p><?php _e( 'When you edit themes and plugins directly, WordPress 4.9 will politely warn you that this is a dangerous practice. It will recommend that you backup your files before saving, so they don’t get overwritten by the next update. Take the safe route: your future self will thank you. Your team and customers will thank you.' );?></p> 267 </div> 268 </div> 269 </div> 270 271 <div class="floating-header-section"> 272 <div class="section-header"> 273 <h2><?php _e( 'Even More Widget Updates' ); ?></h2> 274 </div> 275 276 <div class="section-content"> 277 <div class="section-item"> 278 <div class="inline-svg"> 279 <img src="https://s.w.org/images/core/4.9/gallery-widget.svg" alt=""> 280 </div> 281 <h3><?php _e( 'The New Gallery Widget' ); ?></h3> 282 <p><?php _e( 'An incremental improvement to the media changes hatched in WordPress 4.8, you can now add a gallery via widget. Yes!' ); ?></p> 283 </div> 284 <div class="section-item"> 285 <div class="inline-svg"> 286 <img src="https://s.w.org/images/core/4.9/media-button.svg" alt=""> 287 </div> 288 <h3><?php _e( 'Press a Button, Add Media' ); ?></h3> 289 <p><?php _e( 'Want to add media to your text widget? Embed images, video, and audio directly into the widget along with your text, with our simple but useful Add Media button. Woo!' ); ?></p> 290 </div> 291 </div> 292 </div> 293 294 <div class="floating-header-section"> 295 <div class="section-header"> 296 <h2><?php _e( 'Site Building Improvements' ); ?></h2> 297 </div> 298 299 <div class="section-content"> 300 <div class="section-item"> 301 <div class="inline-svg"> 302 <img src="https://s.w.org/images/core/4.9/theme-switching.svg" alt=""> 303 </div> 304 <h3><?php _e( 'More Reliable Theme Switching' ); ?></h3> 305 <p><?php _e( 'When you switch themes, widgets sometimes think they can just up and move location. Improvements in WordPress 4.9 offer more persistent menu and widget placement when you decide it’s time for a new theme. Additionally, you can preview installed themes or download, install, and preview new themes right. Nothing says handy like being able to preview before you deploy. ' ); ?></p> 306 </div> 307 <div class="section-item"> 308 <div class="inline-svg"> 309 <img src="https://s.w.org/images/core/4.9/menu-flow.svg" alt=""> 310 </div> 311 <h3><?php _e( 'Better Menu Instructions = Less Confusion' ); ?></h3> 312 <p><?php _e( 'Were you confused by the steps to create a new menu? Perhaps no longer! We’ve ironed out the UX for a smoother menu creation process. Newly updated copy will guide you.' ); ?></p> 313 </div> 314 </div> 315 </div> 316 317 <div class="inline-svg"> 318 <picture> 319 <source media="(max-width: 500px)" srcset="<?php echo 'https://s.w.org/images/core/4.9/gutenberg-mobile.svg'; ?>"> 320 <img src="https://s.w.org/images/core/4.9/gutenberg.svg" alt=""> 321 </picture> 322 </div> 323 324 <div class="feature-section"> 325 <h2> 326 <?php 327 printf( 328 /* translators: %s: handshake emoji */ 329 __( 'Lend a Hand with Gutenberg %s' ), 330 '🤝' 331 ); 332 ?> 333 </h2> 334 <p><?php printf( 335 __( 'WordPress is working on a new way to create and control your content and we’d love to have your help. Interested in being an <a href="%s">early tester</a> or getting involved with the Gutenberg project? <a href="%s">Contribute on GitHub</a>.' ), 336 __( 'https://wordpress.org/plugins/gutenberg/' ), 337 'https://github.com/WordPress/gutenberg' ); ?></p> 338 </div> 339 340 <hr /> 341 342 <div class="changelog"> 343 <h2><?php 344 printf( 345 /* translators: %s: smiling face with smiling eyes emoji */ 346 __( 'Developer Happiness %s' ), 347 '😊' 348 ); 349 ?></h2> 350 351 <div class="under-the-hood two-col"> 352 <div class="col"> 353 <h3><a href="https://make.wordpress.org/core/2017/11/01/improvements-to-the-customize-js-api-in-4-9/"><?php _e( 'Customizer JS API Improvements' ); ?></a></h3> 354 <p><?php 355 printf( 356 /* translators: %s: https://make.wordpress.org/core/2017/11/01/improvements-to-the-customize-js-api-in-4-9/ */ 357 __( 'We’ve made numerous improvements to the Customizer JS API in WordPress 4.9, eliminating many pain points and making it just as easy to work with as the PHP API. There are also new base control templates, a date/time control, and section/panel/global notifications to name a few. <a href="%s">Check out the full list.</a>' ), 358 'https://make.wordpress.org/core/2017/11/01/improvements-to-the-customize-js-api-in-4-9/' 359 ); 360 ?></p> 361 </div> 362 <div class="col"> 363 <h3><a href="https://make.wordpress.org/core/2017/10/22/code-editing-improvements-in-wordpress-4-9/"><?php _e( 'CodeMirror available for use in your themes and plugins' ); ?></a></h3> 364 <p><?php _e( 'We’ve introduced a new code editing library, CodeMirror, for use within core. Use it to improve any code writing or editing experiences within your plugins, like CSS or JavaScript include fields.' ); ?></p> 365 </div> 366 <div class="col"> 367 <h3><a href="https://make.wordpress.org/core/2017/10/30/mediaelement-upgrades-in-wordpress-4-9/"><?php _e( 'MediaElement.js upgraded to 4.2.6' ); ?></a></h3> 368 <p><?php _e( 'WordPress 4.9 includes an upgraded version of MediaElement.js, which removes dependencies on jQuery, improves accessibility, modernizes the UI, and fixes many bugs.' ); ?></p> 369 </div> 370 <div class="col"> 371 <h3><a href="https://make.wordpress.org/core/2017/10/15/improvements-for-roles-and-capabilities-in-4-9/"><?php _e( 'Improvements to Roles and Capabilities' ); ?></a></h3> 372 <p><?php _e( 'New capabilities have been introduced that allow granular management of plugins and translation files. In addition, the site switching process in multisite has been fine-tuned to update the available roles and capabilities in a more reliable and coherent way.' ); ?></p> 373 </div> 374 </div> 375 </div> 376 306 </div> 307 </div> 308 377 309 <hr /> 378 310 -
branches/5.0/src/wp-admin/css/about.css
r43784 r43913 41 41 border: 0; 42 42 height: 0; 43 margin: 0;43 margin: 3em 0 0; 44 44 border-top: 1px solid rgba(0, 0, 0, 0.1); 45 45 } … … 50 50 height: auto; 51 51 vertical-align: middle; 52 } 53 54 .about-wrap figure { 55 position: relative; 56 margin: 0; 57 } 58 59 .about-wrap .feature-section figure img { 60 margin-bottom: 0; 61 } 62 63 .about-wrap figcaption { 64 position: absolute; 65 bottom: 0; 66 width: 100%; 67 padding: 40px 10px 15px; 68 overflow: auto; 69 box-sizing: border-box; 70 background: linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 60%,transparent); 71 font-weight: 600; 72 text-shadow: 0px 0px 5px rgba(0,0,0,.75); 52 73 } 53 74 … … 133 154 } 134 155 135 .about-wrap .changelog h2 {136 font-size: 1.4em;137 font-weight: 600;138 text-align: left;139 }140 141 .about-wrap .changelog h3 {142 margin: 1.33em 0;143 font-size: 1em;144 line-height: inherit;145 color: #23282d;146 }147 148 156 .about-wrap code, 149 157 .about-wrap ol li p { 150 158 font-size: 14px; 151 159 font-weight: 400; 160 } 161 162 .about-wrap figcaption { 163 font-size: 13px; 164 text-align: center; 165 color: white; 152 166 } 153 167 … … 162 176 .about-wrap .about-text { 163 177 margin: 1em 200px 1em 0; 164 min-height: 60px;165 178 color: #555d66; 166 179 } … … 176 189 .about-wrap .feature-section.one-col { 177 190 margin: 0 auto; 178 max-width: 700px;191 max-width: 680px; 179 192 } 180 193 … … 198 211 } 199 212 213 .about-wrap .three-col, 214 .about-wrap .four-col { 215 margin: auto; 216 max-width: 1020px; 217 } 218 200 219 .about-wrap .three-col .col { 201 220 align-self: flex-start; … … 204 223 } 205 224 225 .about-wrap .four-col .col { 226 align-self: flex-start; 227 min-width: 23%; 228 max-width: 23%; 229 } 230 231 .about-wrap .feature-section.eight-col .col { 232 align-self: flex-start; 233 margin-top: 6px; 234 min-width: 12%; 235 max-width: 12%; 236 } 237 238 .about-wrap .one-col img { 239 margin: 1em 0 2em; 240 } 241 206 242 .about-wrap .two-col img { 207 243 margin-bottom: 1.5em; … … 214 250 .about-wrap .feature-video .mejs-overlay-loading span { 215 251 background: transparent; /* Hide loading.gif */ 252 } 253 254 .about-wrap video { 255 margin: 1.5em auto; 256 } 257 258 .about-wrap .cta { 259 text-align: center; 260 } 261 .about-wrap .cta .button { 262 margin: 0 auto 5px; 263 font-weight: 600; 216 264 } 217 265 … … 295 343 .about-wrap .feature-section { 296 344 overflow: hidden; 297 padding: 0 0 40px;298 345 } 299 346 … … 304 351 .about-wrap .feature-section .media-container { 305 352 overflow: hidden; 306 }307 308 .about-wrap .feature-section img {309 margin-bottom: 1em;310 353 } 311 354 … … 345 388 text-decoration: none; 346 389 padding: 0 5px; 347 }348 349 /* 2.3 Floating Header Layout */350 351 .about-wrap .floating-header-section {352 display: -ms-grid;353 display: grid;354 grid-gap: 0 60px;355 -ms-grid-columns: 5fr 11fr;356 grid-template-columns: 5fr 11fr;357 max-width: 1020px;358 margin: 0 auto 120px;359 }360 361 .about-wrap .floating-header-section .section-header {362 -ms-grid-column: 1;363 grid-column: 1;364 position: relative;365 min-width: 230px;366 max-width: 300px;367 }368 369 .about-wrap .floating-header-section h2 {370 margin: 0;371 text-align: left;372 position: absolute;373 }374 375 .about-wrap .floating-header-section .section-content {376 -ms-grid-column: 2;377 grid-column: 2;378 display: flex;379 justify-content: space-between;380 align-items: flex-start;381 flex-flow: row wrap;382 flex-grow: 2;383 flex-shrink: 0;384 }385 386 .about-wrap .floating-header-section .section-item {387 flex-grow: 1;388 max-width: calc(50% - 30px);389 }390 391 .about-wrap .floating-header-section .section-item:nth-child(1),392 .about-wrap .floating-header-section .section-item:nth-child(2) {393 margin-bottom: 60px;394 }395 396 .about-wrap .floating-header-section .section-item:nth-child(1):nth-last-child(2),397 .about-wrap .floating-header-section .section-item:nth-child(2):nth-last-child(1) {398 margin-bottom: 0;399 }400 401 .about-wrap .floating-header-section.has-long-title {402 display: block;403 }404 405 .about-wrap .floating-header-section.has-long-title .section-header {406 max-width: 100%;407 }408 409 .about-wrap .floating-header-section.has-long-title h2 {410 position: static;411 margin-bottom: 60px;412 }413 414 .about-wrap .floating-header-section.has-long-title .section-content {415 justify-content: flex-start;416 }417 418 .about-wrap .floating-header-section.has-long-title .section-item {419 max-width: 300px;420 margin-bottom: 0;421 }422 423 .about-wrap .floating-header-section.has-long-title .section-item + .section-item {424 margin-left: 60px;425 390 } 426 391 … … 539 504 540 505 .about-wrap .two-col .col, 541 .about-wrap .three-col .col { 506 .about-wrap .three-col .col, 507 .about-wrap .four-col .col { 542 508 min-width: 48% !important; 543 509 } 544 545 .about-wrap .three-col img { 510 511 .about-wrap .eight-col .col { 512 min-width: 24% !important; 513 } 514 515 .about-wrap .three-col img, 516 .about-wrap .four-col img, 517 .about-wrap .eight-col img { 546 518 display: block; 547 519 margin: 0 auto; 520 } 521 522 .about-wrap figcaption { 523 position: relative; 524 margin-top: 10px; 525 padding-top: 0; 526 color: #40464D; 548 527 } 549 528 … … 585 564 586 565 .about-wrap .two-col .col, 566 .about-wrap .three-col .col, 587 567 .about-wrap .three-col .col { 588 568 min-width: 100% !important; 589 569 } 590 570 571 .about-wrap .under-the-hood.four-col .col, 591 572 .about-wrap .under-the-hood.three-col .col, 592 573 .about-wrap .under-the-hood.two-col .col,
Note: See TracChangeset
for help on using the changeset viewer.