About Page: Initial About Page design and strings for 5.0.

Props @pixelverbieger, @ocean90, @karmatosed, @pento, @boemedia, @lonelyvegan, @sami.keijonen, @TimothyBlynJacobs, @xkon, @afercia, @laurelfulford, @joostdevalk, @ipstenu, @matveb, @joen, @tinkerbelly, @chanthaboune, @kjellr, @alexislloyd, @melchoyce.
See #45178.

Built from https://develop.svn.wordpress.org/branches/5.0@43913


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Mel Choyce 2018-11-21 02:39:49 +00:00
parent aea8dfd090
commit 110a98f5e7
6 changed files with 412 additions and 518 deletions

View File

@ -16,12 +16,17 @@ $title = _x( 'About', 'page title' );
list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
wp_enqueue_style( 'wp-block-library' );
include( ABSPATH . 'wp-admin/admin-header.php' );
?>
<div class="wrap about-wrap full-width-layout">
<h1><?php printf( __( 'Welcome to WordPress&nbsp;%s' ), $display_version ); ?></h1>
<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>
<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>
<p class="about-text">
<a href="#classic-editor"><?php _e( 'Learn how to keep using the old editor.' ); ?></a>
</p>
<div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
<h2 class="nav-tab-wrapper wp-clearfix">
@ -31,349 +36,276 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
<a href="freedoms.php?privacy-notice" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
</h2>
<div class="changelog point-releases">
<h3><?php _e( 'Maintenance and Security Releases' ); ?></h3>
<p>
<?php
printf(
/* translators: 1: WordPress version number, 2: plural number of bugs. */
_n(
'<strong>Version %1$s</strong> addressed %2$s bug.',
'<strong>Version %1$s</strong> addressed %2$s bugs.',
46
),
'4.9.8',
number_format_i18n( 46 )
);
?>
<?php
/* translators: %s: Codex URL */
printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.9.8' );
?>
</p>
<p>
<?php
printf(
/* translators: 1: WordPress version number, 2: plural number of bugs. */
_n(
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.',
17
),
'4.9.7',
number_format_i18n( 17 )
);
?>
<?php
/* translators: %s: Codex URL */
printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.9.7' );
?>
</p>
<p>
<?php
printf(
/* translators: 1: WordPress version number, 2: plural number of bugs. */
_n(
'<strong>Version %1$s</strong> addressed %2$s bug.',
'<strong>Version %1$s</strong> addressed %2$s bugs.',
18
),
'4.9.6',
number_format_i18n( 18 )
);
?>
<?php
/* translators: %s: Codex URL */
printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.9.6' );
?>
</p>
<p>
<?php
printf(
/* translators: 1: WordPress version number, 2: plural number of bugs. */
_n(
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.',
28
),
'4.9.5',
number_format_i18n( 28 )
);
?>
<?php
/* translators: %s: Codex URL */
printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.9.5' );
?>
</p>
<p>
<?php
printf(
/* translators: 1: WordPress version number, 2: plural number of bugs. */
_n(
'<strong>Version %1$s</strong> addressed %2$s bug.',
'<strong>Version %1$s</strong> addressed %2$s bugs.',
1
),
'4.9.4',
number_format_i18n( 1 )
);
?>
<?php
/* translators: %s: Codex URL */
printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.9.4' );
?>
</p>
<p>
<?php
printf(
/* translators: 1: WordPress version number, 2: plural number of bugs. */
_n(
'<strong>Version %1$s</strong> addressed %2$s bug.',
'<strong>Version %1$s</strong> addressed %2$s bugs.',
34
),
'4.9.3',
number_format_i18n( 34 )
);
?>
<?php
/* translators: %s: Codex URL */
printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.9.3' );
?>
</p>
<p>
<?php
printf(
/* translators: 1: WordPress version number, 2: plural number of bugs. */
_n(
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.',
22
),
'4.9.2',
number_format_i18n( 22 )
);
?>
<?php
/* translators: %s: Codex URL */
printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.9.2' );
?>
</p>
<p>
<?php
printf(
/* translators: 1: WordPress version number, 2: plural number of bugs. */
_n(
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.',
11
),
'4.9.1',
number_format_i18n( 11 )
);
?>
<?php
/* translators: %s: Codex URL */
printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.9.1' );
?>
</p>
<div class="feature-section one-col">
<div class="col">
<h2><?php _e( 'Say Hello to the New Editor' ); ?></h2>
</div>
</div>
<div class="full-width">
<img src="https://wordpress.org/gutenberg/files/2018/11/gutenberg-sketch.png" alt="">
</div>
<div class="feature-section one-col">
<div class="col">
<h2>
<?php
printf(
/* translators: %s: party popper emoji */
__( 'Major Customizer Improvements, Code Error Checking, and More! %s' ),
'&#x1F389'
);
?>
</h2>
<p><?php _e( 'Welcome to an improved Customizer workflow with design drafts, locking, scheduling, and preview links. What&#8217;s more, code syntax highlighting and error checking will make for a clean and smooth site building experience. Finally, if all that wasn&#8217;t pretty great, we&#8217;ve got a great new Gallery widget and improvements to theme browsing and switching.' ); ?></p>
<p><?php _e( 'You&#8217;ve successfully upgraded to WordPress 5.0! Weve 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. Youll 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>
</div>
</div>
<div class="inline-svg full-width">
<picture>
<source media="(max-width: 500px)" srcset="<?php echo 'https://s.w.org/images/core/4.9/banner-mobile.svg'; ?>">
<img src="https://s.w.org/images/core/4.9/banner.svg" alt="">
</picture>
</div>
<div class="floating-header-section">
<div class="section-header">
<h2><?php _e( 'Customizer Workflow Improved' ); ?></h2>
<div class="feature-section four-col">
<div class="col">
<figure>
<img src="https://wordpress.org/gutenberg/files/2018/07/Plugin-1-1.gif" alt=""/>
<figcaption><?php _e( 'Do more with fewer plugins.' ); ?></figcaption>
</figure>
</div>
<div class="section-content">
<div class="section-item">
<div class="inline-svg">
<img src="https://s.w.org/images/core/4.9/draft-and-schedule.svg" alt="">
</div>
<h3><?php _e( 'Draft and Schedule Site Design Customizations' ); ?></h3>
<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&#8217;s design and schedule those design changes to go live as you please.' ); ?></p>
</div>
<div class="section-item">
<div class="inline-svg">
<img src="https://s.w.org/images/core/4.9/design-preview-links.svg" alt="">
</div>
<h3><?php _e( 'Collaborate with Design Preview Links' ); ?></h3>
<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&#43;&#43;?' ); ?></p>
</div>
<div class="section-item">
<div class="inline-svg">
<img src="https://s.w.org/images/core/4.9/locking.svg" alt="">
</div>
<h3><?php _e( 'Design Locking To Guard Your Changes' ); ?></h3>
<p><?php _e( 'Ever encounter a scenario where two designers walk into a project and designer A overrides designer B&#8217;s beautiful changes? WordPress 4.9&#8217;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>
</div>
<div class="section-item">
<div class="inline-svg">
<img src="https://s.w.org/images/core/4.9/prompt.svg" alt="">
</div>
<h3><?php _e( 'A Prompt to Protect Your Work' ); ?></h3>
<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&#8217;d like to save your unsaved changes.' ); ?></p>
</div>
<div class="col">
<figure>
<img src="https://wordpress.org/gutenberg/files/2018/07/Layout-3.gif" alt=""/>
<figcaption><?php _e( 'Create modern, multimedia-heavy layouts.' ); ?></figcaption>
</figure>
</div>
<div class="col">
<figure>
<img src="https://wordpress.org/gutenberg/files/2018/07/Devices-1-1.gif" alt=""/>
<figcaption><?php _e( 'Work across all screen sizes and devices.' ); ?></figcaption>
</figure>
</div>
<div class="col">
<figure>
<img src="https://wordpress.org/gutenberg/files/2018/07/Visual-1.gif" alt=""/>
<figcaption><?php _e( 'Trust that your editor looks like your website.' ); ?></figcaption>
</figure>
</div>
</div>
<div class="floating-header-section">
<div class="section-header">
<h2><?php _e( 'Coding Enhancements' ); ?></h2>
</div>
<div class="section-content">
<div class="section-item">
<div class="inline-svg">
<img src="https://s.w.org/images/core/4.9/syntax-highlighting.svg" alt="">
</div>
<h3><?php _e( 'Syntax Highlighting and Error Checking? Yes, Please!' ); ?></h3>
<p><?php _e( 'You&#8217;ve got a display problem but can&#8217;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&#8217;ll pinpoint coding errors quickly. Practically guaranteed to help you scan code more easily and suss out and fix code errors quickly.' ); ?></p>
</div>
<div class="section-item">
<div class="inline-svg">
<img src="https://s.w.org/images/core/4.9/sandbox.svg" alt="">
</div>
<h3><?php _e( 'Sandbox for Safety' ); ?></h3>
<p><?php _e( 'The dreaded white screen. You&#8217;ll avoid it when working on themes and plugin code because WordPress 4.9 will warn you about saving an error. You&#8217;ll sleep better at night.' ); ?></p>
</div>
<div class="section-item">
<div class="inline-svg">
<img src="https://s.w.org/images/core/4.9/warning.svg" alt="">
</div>
<h3><?php _e( 'Warning: Potential Danger Ahead!' ); ?></h3>
<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&#8217;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>
</div>
<div class="feature-section one-col">
<div class="col">
<h2><?php _e( 'Building with Blocks' ); ?></h2>
<p><?php _e( 'The new block-based editor won&#8217;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&#8217;s content. Each piece of content will be in its own block; a distinct wrapper for easy maneuvering. If you&#8217;re more of an HTML and CSS sort of person, then the blocks won&#8217;t stand in your way. WordPress is here to simplify the process, not the outcome.' ); ?></p>
<video controls autoplay loop>
<source src="https://wordpress.org/gutenberg/files/2018/11/add-block.mp4" type="video/mp4">
<source src="https://wordpress.org/gutenberg/files/2018/11/add-block.webm" type="video/webm">
<p><?php printf( __('Your browser doesn&#8217;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>
</video>
<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>
</div>
</div>
<div class="floating-header-section">
<div class="section-header">
<h2><?php _e( 'Even More Widget Updates' ); ?></h2>
<div class="feature-section eight-col">
<div class="col">
<figure>
<img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon.png" alt=""/>
<figcaption><?php _e( 'Paragraph' ); ?></figcaption>
</figure>
</div>
<div class="section-content">
<div class="section-item">
<div class="inline-svg">
<img src="https://s.w.org/images/core/4.9/gallery-widget.svg" alt="">
</div>
<h3><?php _e( 'The New Gallery Widget' ); ?></h3>
<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>
</div>
<div class="section-item">
<div class="inline-svg">
<img src="https://s.w.org/images/core/4.9/media-button.svg" alt="">
</div>
<h3><?php _e( 'Press a Button, Add Media' ); ?></h3>
<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>
</div>
<div class="col">
<figure>
<img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Heading.png" alt=""/>
<figcaption><?php _e( 'Heading' ); ?></figcaption>
</figure>
</div>
<div class="col">
<figure>
<img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Subheading.png" alt=""/>
<figcaption><?php _e( 'Preformatted' ); ?></figcaption>
</figure>
</div>
<div class="col">
<figure>
<img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Quote.png" alt=""/>
<figcaption><?php _e( 'Quote' ); ?></figcaption>
</figure>
</div>
<div class="col">
<figure>
<img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Image.png" alt=""/>
<figcaption><?php _e( 'Image' ); ?></figcaption>
</figure>
</div>
<div class="col">
<figure>
<img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Gallery.png" alt=""/>
<figcaption><?php _e( 'Gallery' ); ?></figcaption>
</figure>
</div>
<div class="col">
<figure>
<img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Cover-Image.png" alt=""/>
<figcaption><?php _e( 'Cover Image' ); ?></figcaption>
</figure>
</div>
<div class="col">
<figure>
<img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Video.png" alt=""/>
<figcaption><?php _e( 'Video' ); ?></figcaption>
</figure>
</div>
<div class="col">
<figure>
<img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Audio.png" alt=""/>
<figcaption><?php _e( 'Audio' ); ?></figcaption>
</figure>
</div>
<div class="col">
<figure>
<img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Column.png" alt=""/>
<figcaption><?php _e( 'Columns' ); ?></figcaption>
</figure>
</div>
<div class="col">
<figure>
<img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-File.png" alt=""/>
<figcaption><?php _e( 'File' ); ?></figcaption>
</figure>
</div>
<div class="col">
<figure>
<img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Code.png" alt=""/>
<figcaption><?php _e( 'Code' ); ?></figcaption>
</figure>
</div>
<div class="col">
<figure>
<img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-List.png" alt=""/>
<figcaption><?php _e( 'List' ); ?></figcaption>
</figure>
</div>
<div class="col">
<figure>
<img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Button.png" alt=""/>
<figcaption><?php _e( 'Button' ); ?></figcaption>
</figure>
</div>
<div class="col">
<figure>
<img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Embeds.png" alt=""/>
<figcaption><?php _e( 'Embeds' ); ?></figcaption>
</figure>
</div>
<div class="col">
<figure>
<img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-More.png" alt=""/>
<figcaption><?php _e( 'More' ); ?></figcaption>
</figure>
</div>
</div>
<div class="floating-header-section">
<div class="section-header">
<h2><?php _e( 'Site Building Improvements' ); ?></h2>
<div class="feature-section one-col">
<div class="col">
<h2><?php _e( 'Freedom to Build, Freedom to Write' ); ?></h2>
<p><?php _e( 'This new editing experience provides a more consistent treatment of design as well as content. If you&#8217;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>
<video controls autoplay loop>
<source src="https://wordpress.org/gutenberg/files/2018/11/build.mp4" type="video/mp4">
<source src="https://wordpress.org/gutenberg/files/2018/11/build.webm" type="video/webm">
<p><?php printf( __('Your browser doesn&#8217;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>
</video>
</div>
</div>
<div class="feature-section one-col cta">
<div class="col">
<a class="button button-primary button-hero" href="<?php echo esc_url( admin_url( 'post-new.php' ) ); ?>"><?php _e( 'Build your first post' ); ?></a>
</div>
</div>
<hr />
<div class="section-content">
<div class="section-item">
<div class="inline-svg">
<img src="https://s.w.org/images/core/4.9/theme-switching.svg" alt="">
</div>
<h3><?php _e( 'More Reliable Theme Switching' ); ?></h3>
<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&#8217;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>
</div>
<div class="section-item">
<div class="inline-svg">
<img src="https://s.w.org/images/core/4.9/menu-flow.svg" alt="">
</div>
<h3><?php _e( 'Better Menu Instructions = Less Confusion' ); ?></h3>
<p><?php _e( 'Were you confused by the steps to create a new menu? Perhaps no longer! We&#8217;ve ironed out the UX for a smoother menu creation process. Newly updated copy will guide you.' ); ?></p>
</div>
<div class="feature-section one-col">
<div class="col">
<h2><?php _e( 'A Stunning New Default Theme' ); ?></h2>
</div>
</div>
<div class="inline-svg">
<picture>
<source media="(max-width: 500px)" srcset="<?php echo 'https://s.w.org/images/core/4.9/gutenberg-mobile.svg'; ?>">
<img src="https://s.w.org/images/core/4.9/gutenberg.svg" alt="">
</picture>
<div class="full-width">
<figure>
<img src="https://wordpress.org/gutenberg/files/2018/11/twenty-nineteen.png" alt="">
<figcaption><?php _e( 'The front-end of Twenty Nineteen on the left, and how it looks in the editor on the right.' ); ?></figcaption>
</figure>
</div>
<div class="feature-section">
<h2>
<?php
printf(
/* translators: %s: handshake emoji */
__( 'Lend a Hand with Gutenberg %s' ),
'&#x1F91D'
);
?>
</h2>
<p><?php printf(
__( 'WordPress is working on a new way to create and control your content and we&#8217;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>.' ),
__( 'https://wordpress.org/plugins/gutenberg/' ),
'https://github.com/WordPress/gutenberg' ); ?></p>
<div class="feature-section one-col">
<div class="col">
<p><?php _e( 'Introducing Twenty Nineteen, a new default theme that shows off the power of the new editor.' ); ?></p>
</div>
</div>
<div class="feature-section three-col">
<div class="col">
<img src="https://wordpress.org/gutenberg/files/2018/11/twenty-nineteen-gutenberg.png" alt="">
<h3><?php _e( 'Designed for the block editor' ); ?></h3>
<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>
</div>
<div class="col">
<img src="https://wordpress.org/gutenberg/files/2018/11/twenty-nineteen-type.png" alt="">
<h3><?php _e( 'Simple, type-driven layout' ); ?></h3>
<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>
</div>
<div class="col">
<img src="https://wordpress.org/gutenberg/files/2018/11/three-3seconds.gif" alt="">
<h3><?php _e( 'Versatile design for all sites' ); ?></h3>
<p><?php _e( 'Twenty Nineteen is designed to work for a wide variety of use cases. Whether youre running a photo blog, launching a new business, or supporting a non-profit, Twenty Nineteen is flexible enough to fit your needs.' ); ?></p>
</div>
</div>
<div class="feature-section one-col cta">
<div class="col">
<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>
</div>
</div>
<hr />
<div class="changelog">
<h2><?php
printf(
/* translators: %s: smiling face with smiling eyes emoji */
__( 'Developer Happiness %s' ),
'&#x1F60A'
);
?></h2>
<div class="under-the-hood two-col">
<div class="col">
<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>
<p><?php
printf(
/* translators: %s: https://make.wordpress.org/core/2017/11/01/improvements-to-the-customize-js-api-in-4-9/ */
__( 'We&#8217;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>' ),
'https://make.wordpress.org/core/2017/11/01/improvements-to-the-customize-js-api-in-4-9/'
);
?></p>
</div>
<div class="col">
<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>
<p><?php _e( 'We&#8217;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>
</div>
<div class="col">
<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>
<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>
</div>
<div class="col">
<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>
<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>
</div>
<div class="under-the-hood feature-section">
<div class="col">
<h2><?php _e( 'Developer Happiness' ); ?></h2>
</div>
</div>
<div class="under-the-hood feature-section three-col">
<div class="col">
<h3><?php _e( 'Protect' ); ?></h3>
<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>
</div>
<div class="col">
<h3><?php _e( 'Compose' ); ?></h3>
<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>
</div>
<div class="col">
<h3><?php _e( 'Create' ); ?></h3>
<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&#8217;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>
</div>
</div>
<div class="under-the-hood feature-section one-col cta">
<div class="col">
<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>
</div>
</div>
<hr />
<div class="feature-section one-col" id="classic-editor">
<div class="col">
<h2><?php _e( 'Keep it Classic' ); ?></h2>
</div>
</div>
<div class="full-width">
<img src="https://wordpress.org/gutenberg/files/2018/11/classic.png" alt="">
</div>
<div class="feature-section one-col">
<div class="col">
<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>
<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.” Thats it! ' ); ?></p>
<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>
<div class="col cta">
<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>
</div>
</div>
</div>
<hr />
<div class="return-to-dashboard">

View File

@ -40,7 +40,7 @@
.about-wrap hr {
border: 0;
height: 0;
margin: 0;
margin: 3em 0 0;
border-top: 1px solid rgba(0, 0, 0, 0.1);
}
@ -51,6 +51,27 @@
vertical-align: middle;
}
.about-wrap figure {
position: relative;
margin: 0;
}
.about-wrap .feature-section figure img {
margin-bottom: 0;
}
.about-wrap figcaption {
position: absolute;
bottom: 0;
width: 100%;
padding: 40px 10px 15px;
overflow: auto;
box-sizing: border-box;
background: linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 60%,transparent);
font-weight: 600;
text-shadow: 0px 0px 5px rgba(0,0,0,.75);
}
.about-wrap .jetpack-video-wrapper {
margin-bottom: 0;
}
@ -132,25 +153,18 @@
color: #23282d;
}
.about-wrap .changelog h2 {
font-size: 1.4em;
font-weight: 600;
text-align: right;
}
.about-wrap .changelog h3 {
margin: 1.33em 0;
font-size: 1em;
line-height: inherit;
color: #23282d;
}
.about-wrap code,
.about-wrap ol li p {
font-size: 14px;
font-weight: 400;
}
.about-wrap figcaption {
font-size: 13px;
text-align: center;
color: white;
}
.about-wrap .about-description,
.about-wrap .about-text {
margin-top: 1.4em;
@ -161,7 +175,6 @@
.about-wrap .about-text {
margin: 1em 0 1em 200px;
min-height: 60px;
color: #555d66;
}
@ -175,7 +188,7 @@
.about-wrap .feature-section.one-col {
margin: 0 auto;
max-width: 700px;
max-width: 680px;
}
.about-wrap .inline-svg img {
@ -197,12 +210,35 @@
max-width: 47%;
}
.about-wrap .three-col,
.about-wrap .four-col {
margin: auto;
max-width: 1020px;
}
.about-wrap .three-col .col {
align-self: flex-start;
min-width: 31%;
max-width: 31%;
}
.about-wrap .four-col .col {
align-self: flex-start;
min-width: 23%;
max-width: 23%;
}
.about-wrap .feature-section.eight-col .col {
align-self: flex-start;
margin-top: 6px;
min-width: 12%;
max-width: 12%;
}
.about-wrap .one-col img {
margin: 1em 0 2em;
}
.about-wrap .two-col img {
margin-bottom: 1.5em;
}
@ -215,6 +251,18 @@
background: transparent; /* Hide loading.gif */
}
.about-wrap video {
margin: 1.5em auto;
}
.about-wrap .cta {
text-align: center;
}
.about-wrap .cta .button {
margin: 0 auto 5px;
font-weight: 600;
}
/* 1.3 - Point Releases */
.about-wrap .point-releases {
@ -294,7 +342,6 @@
.about-wrap .feature-section {
overflow: hidden;
padding: 0 0 40px;
}
.about-wrap .feature-section.no-heading {
@ -305,10 +352,6 @@
overflow: hidden;
}
.about-wrap .feature-section img {
margin-bottom: 1em;
}
.about-wrap .embed-container {
text-align: center;
}
@ -346,84 +389,6 @@
padding: 0 5px;
}
/* 2.3 Floating Header Layout */
.about-wrap .floating-header-section {
display: -ms-grid;
display: grid;
grid-gap: 0 60px;
-ms-grid-columns: 5fr 11fr;
grid-template-columns: 5fr 11fr;
max-width: 1020px;
margin: 0 auto 120px;
}
.about-wrap .floating-header-section .section-header {
-ms-grid-column: 1;
grid-column: 1;
position: relative;
min-width: 230px;
max-width: 300px;
}
.about-wrap .floating-header-section h2 {
margin: 0;
text-align: right;
position: absolute;
}
.about-wrap .floating-header-section .section-content {
-ms-grid-column: 2;
grid-column: 2;
display: flex;
justify-content: space-between;
align-items: flex-start;
flex-flow: row wrap;
flex-grow: 2;
flex-shrink: 0;
}
.about-wrap .floating-header-section .section-item {
flex-grow: 1;
max-width: calc(50% - 30px);
}
.about-wrap .floating-header-section .section-item:nth-child(1),
.about-wrap .floating-header-section .section-item:nth-child(2) {
margin-bottom: 60px;
}
.about-wrap .floating-header-section .section-item:nth-child(1):nth-last-child(2),
.about-wrap .floating-header-section .section-item:nth-child(2):nth-last-child(1) {
margin-bottom: 0;
}
.about-wrap .floating-header-section.has-long-title {
display: block;
}
.about-wrap .floating-header-section.has-long-title .section-header {
max-width: 100%;
}
.about-wrap .floating-header-section.has-long-title h2 {
position: static;
margin-bottom: 60px;
}
.about-wrap .floating-header-section.has-long-title .section-content {
justify-content: flex-start;
}
.about-wrap .floating-header-section.has-long-title .section-item {
max-width: 300px;
margin-bottom: 0;
}
.about-wrap .floating-header-section.has-long-title .section-item + .section-item {
margin-right: 60px;
}
/*------------------------------------------------------------------------------
3.0 - Credits & Freedoms Pages
------------------------------------------------------------------------------*/
@ -538,14 +503,28 @@
}
.about-wrap .two-col .col,
.about-wrap .three-col .col {
.about-wrap .three-col .col,
.about-wrap .four-col .col {
min-width: 48% !important;
}
.about-wrap .eight-col .col {
min-width: 24% !important;
}
.about-wrap .three-col img {
.about-wrap .three-col img,
.about-wrap .four-col img,
.about-wrap .eight-col img {
display: block;
margin: 0 auto;
}
.about-wrap figcaption {
position: relative;
margin-top: 10px;
padding-top: 0;
color: #40464D;
}
.about-wrap .floating-header-section {
display: block;
@ -584,10 +563,12 @@
}
.about-wrap .two-col .col,
.about-wrap .three-col .col,
.about-wrap .three-col .col {
min-width: 100% !important;
}
.about-wrap .under-the-hood.four-col .col,
.about-wrap .under-the-hood.three-col .col,
.about-wrap .under-the-hood.two-col .col,
.about-wrap .under-the-hood.one-col .col {

File diff suppressed because one or more lines are too long

View File

@ -40,7 +40,7 @@
.about-wrap hr {
border: 0;
height: 0;
margin: 0;
margin: 3em 0 0;
border-top: 1px solid rgba(0, 0, 0, 0.1);
}
@ -51,6 +51,27 @@
vertical-align: middle;
}
.about-wrap figure {
position: relative;
margin: 0;
}
.about-wrap .feature-section figure img {
margin-bottom: 0;
}
.about-wrap figcaption {
position: absolute;
bottom: 0;
width: 100%;
padding: 40px 10px 15px;
overflow: auto;
box-sizing: border-box;
background: linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 60%,transparent);
font-weight: 600;
text-shadow: 0px 0px 5px rgba(0,0,0,.75);
}
.about-wrap .jetpack-video-wrapper {
margin-bottom: 0;
}
@ -132,25 +153,18 @@
color: #23282d;
}
.about-wrap .changelog h2 {
font-size: 1.4em;
font-weight: 600;
text-align: left;
}
.about-wrap .changelog h3 {
margin: 1.33em 0;
font-size: 1em;
line-height: inherit;
color: #23282d;
}
.about-wrap code,
.about-wrap ol li p {
font-size: 14px;
font-weight: 400;
}
.about-wrap figcaption {
font-size: 13px;
text-align: center;
color: white;
}
.about-wrap .about-description,
.about-wrap .about-text {
margin-top: 1.4em;
@ -161,7 +175,6 @@
.about-wrap .about-text {
margin: 1em 200px 1em 0;
min-height: 60px;
color: #555d66;
}
@ -175,7 +188,7 @@
.about-wrap .feature-section.one-col {
margin: 0 auto;
max-width: 700px;
max-width: 680px;
}
.about-wrap .inline-svg img {
@ -197,12 +210,35 @@
max-width: 47%;
}
.about-wrap .three-col,
.about-wrap .four-col {
margin: auto;
max-width: 1020px;
}
.about-wrap .three-col .col {
align-self: flex-start;
min-width: 31%;
max-width: 31%;
}
.about-wrap .four-col .col {
align-self: flex-start;
min-width: 23%;
max-width: 23%;
}
.about-wrap .feature-section.eight-col .col {
align-self: flex-start;
margin-top: 6px;
min-width: 12%;
max-width: 12%;
}
.about-wrap .one-col img {
margin: 1em 0 2em;
}
.about-wrap .two-col img {
margin-bottom: 1.5em;
}
@ -215,6 +251,18 @@
background: transparent; /* Hide loading.gif */
}
.about-wrap video {
margin: 1.5em auto;
}
.about-wrap .cta {
text-align: center;
}
.about-wrap .cta .button {
margin: 0 auto 5px;
font-weight: 600;
}
/* 1.3 - Point Releases */
.about-wrap .point-releases {
@ -294,7 +342,6 @@
.about-wrap .feature-section {
overflow: hidden;
padding: 0 0 40px;
}
.about-wrap .feature-section.no-heading {
@ -305,10 +352,6 @@
overflow: hidden;
}
.about-wrap .feature-section img {
margin-bottom: 1em;
}
.about-wrap .embed-container {
text-align: center;
}
@ -346,84 +389,6 @@
padding: 0 5px;
}
/* 2.3 Floating Header Layout */
.about-wrap .floating-header-section {
display: -ms-grid;
display: grid;
grid-gap: 0 60px;
-ms-grid-columns: 5fr 11fr;
grid-template-columns: 5fr 11fr;
max-width: 1020px;
margin: 0 auto 120px;
}
.about-wrap .floating-header-section .section-header {
-ms-grid-column: 1;
grid-column: 1;
position: relative;
min-width: 230px;
max-width: 300px;
}
.about-wrap .floating-header-section h2 {
margin: 0;
text-align: left;
position: absolute;
}
.about-wrap .floating-header-section .section-content {
-ms-grid-column: 2;
grid-column: 2;
display: flex;
justify-content: space-between;
align-items: flex-start;
flex-flow: row wrap;
flex-grow: 2;
flex-shrink: 0;
}
.about-wrap .floating-header-section .section-item {
flex-grow: 1;
max-width: calc(50% - 30px);
}
.about-wrap .floating-header-section .section-item:nth-child(1),
.about-wrap .floating-header-section .section-item:nth-child(2) {
margin-bottom: 60px;
}
.about-wrap .floating-header-section .section-item:nth-child(1):nth-last-child(2),
.about-wrap .floating-header-section .section-item:nth-child(2):nth-last-child(1) {
margin-bottom: 0;
}
.about-wrap .floating-header-section.has-long-title {
display: block;
}
.about-wrap .floating-header-section.has-long-title .section-header {
max-width: 100%;
}
.about-wrap .floating-header-section.has-long-title h2 {
position: static;
margin-bottom: 60px;
}
.about-wrap .floating-header-section.has-long-title .section-content {
justify-content: flex-start;
}
.about-wrap .floating-header-section.has-long-title .section-item {
max-width: 300px;
margin-bottom: 0;
}
.about-wrap .floating-header-section.has-long-title .section-item + .section-item {
margin-left: 60px;
}
/*------------------------------------------------------------------------------
3.0 - Credits & Freedoms Pages
------------------------------------------------------------------------------*/
@ -538,14 +503,28 @@
}
.about-wrap .two-col .col,
.about-wrap .three-col .col {
.about-wrap .three-col .col,
.about-wrap .four-col .col {
min-width: 48% !important;
}
.about-wrap .eight-col .col {
min-width: 24% !important;
}
.about-wrap .three-col img {
.about-wrap .three-col img,
.about-wrap .four-col img,
.about-wrap .eight-col img {
display: block;
margin: 0 auto;
}
.about-wrap figcaption {
position: relative;
margin-top: 10px;
padding-top: 0;
color: #40464D;
}
.about-wrap .floating-header-section {
display: block;
@ -584,10 +563,12 @@
}
.about-wrap .two-col .col,
.about-wrap .three-col .col,
.about-wrap .three-col .col {
min-width: 100% !important;
}
.about-wrap .under-the-hood.four-col .col,
.about-wrap .under-the-hood.three-col .col,
.about-wrap .under-the-hood.two-col .col,
.about-wrap .under-the-hood.one-col .col {

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.0-beta5-43912';
$wp_version = '5.0-beta5-43913';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.