wp/wp-admin/about.php
changeset 16 a86126ab1dd4
parent 13 d255fe9cd479
child 18 be944660c56a
equal deleted inserted replaced
15:3d4e9c994f10 16:a86126ab1dd4
     5  * @package WordPress
     5  * @package WordPress
     6  * @subpackage Administration
     6  * @subpackage Administration
     7  */
     7  */
     8 
     8 
     9 /** WordPress Administration Bootstrap */
     9 /** WordPress Administration Bootstrap */
    10 require_once( dirname( __FILE__ ) . '/admin.php' );
    10 require_once __DIR__ . '/admin.php';
    11 
    11 
    12 /* translators: Page title of the About WordPress page in the admin. */
    12 /* translators: Page title of the About WordPress page in the admin. */
    13 $title = _x( 'About', 'page title' );
    13 $title = _x( 'About', 'page title' );
    14 
    14 
    15 list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
    15 list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
    16 
    16 
    17 include( ABSPATH . 'wp-admin/admin-header.php' );
    17 require_once ABSPATH . 'wp-admin/admin-header.php';
    18 ?>
    18 ?>
    19 	<div class="wrap about-wrap full-width-layout">
    19 	<div class="wrap about__container">
    20 		<h1>
    20 
    21 			<?php
    21 		<div class="about__header">
    22 			/* translators: %s: The current WordPress version number */
    22 			<div class="about__header-text">
    23 			printf( __( 'Welcome to WordPress&nbsp;%s' ), $display_version );
    23 				<?php _e( 'Speed. Search. Security.' ); ?>
    24 			?>
    24 			</div>
    25 		</h1>
    25 
    26 
    26 			<div class="about__header-title">
    27 		<p class="about-text">
    27 				<p>
    28 			<?php
    28 					<?php _e( 'WordPress' ); ?>
    29 			printf(
    29 					<span><?php echo $display_version; ?></span>
    30 				/* translators: %s: The current WordPress version number */
    30 				</p>
    31 				__( 'Congratulations on updating to WordPress %s! This update makes it easier than ever to fix your site if something goes wrong.' ),
    31 			</div>
    32 				$display_version
    32 
    33 			);
    33 			<nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
    34 			?>
    34 				<a href="about.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'What&#8217;s New' ); ?></a>
    35 		</p>
    35 				<a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
    36 
    36 				<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
    37 		<div class="wp-badge">
    37 				<a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
    38 			<?php
    38 			</nav>
    39 			/* translators: %s: The current WordPress version number */
    39 		</div>
    40 			printf( __( 'Version %s' ), $display_version );
    40 
    41 			?>
    41 		<div class="about__section is-feature has-subtle-background-color">
    42 		</div>
    42 			<h1>
    43 
    43 				<?php
    44 		<nav class="nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
    44 				printf(
    45 			<a href="about.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'What&#8217;s New' ); ?></a>
    45 					/* translators: %s: The current WordPress version number. */
    46 			<a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
    46 					__( 'Welcome to WordPress %s.' ),
    47 			<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
    47 					$display_version
    48 			<a href="freedoms.php?privacy-notice" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
    48 				);
    49 		</nav>
    49 				?>
    50 
    50 			</h1>
    51 		<div class="changelog point-releases">
       
    52 			<h3><?php _e( 'Maintenance and Security Releases' ); ?></h3>
       
    53 			<p>
    51 			<p>
    54 				<?php
    52 				<?php
    55 				printf(
    53 				printf(
    56 					/* translators: %s: WordPress version number */
    54 					/* translators: %s: The current WordPress version number. */
    57 					__( '<strong>Version %s</strong> addressed some security issues.' ),
    55 					__( 'In WordPress %s, your site gets new power in three major areas: speed, search, and security.' ),
    58 					'5.2.4'
    56 					$display_version
    59 				);
       
    60 				?>
       
    61 				<?php
       
    62 				printf(
       
    63 				/* translators: %s: HelpHub URL */
       
    64 					__( 'For more information, see <a href="%s">the release notes</a>.' ),
       
    65 					sprintf(
       
    66 					/* translators: %s: WordPress version */
       
    67 						esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
       
    68 						sanitize_title( '5.2.4' )
       
    69 					)
       
    70 				);
    57 				);
    71 				?>
    58 				?>
    72 			</p>
    59 			</p>
    73 			<p>
    60 		</div>
    74 				<?php
    61 
    75 				printf(
    62 		<hr />
    76 				/* translators: 1: WordPress version number, 2: plural number of bugs. More than one security issue. */
    63 
    77 					_n(
    64 		<div class="about__section has-subtle-background-color">
    78 						'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
    65 			<div class="column">
    79 						'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.',
    66 				<h2><?php _e( 'Maintenance and Security Releases' ); ?></h2>
    80 						29
    67 				<p>
    81 					),
    68 					<?php
    82 					'5.2.3',
    69 					printf(
    83 					number_format_i18n( 29 )
    70 						/* translators: 1: WordPress version number, 2: Plural number of bugs. */
    84 				);
    71 						_n(
    85 				?>
    72 							'<strong>Version %1$s</strong> addressed %2$s bug.',
    86 				<?php
    73 							'<strong>Version %1$s</strong> addressed %2$s bugs.',
    87 				printf(
    74 							44
    88 				/* translators: %s: HelpHub URL */
    75 						),
    89 					__( 'For more information, see <a href="%s">the release notes</a>.' ),
    76 						'5.5.1',
    90 					sprintf(
    77 						number_format_i18n( 44 )
    91 					/* translators: %s: WordPress version */
    78 					);
    92 						esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
    79 					?>
    93 						sanitize_title( '5.2.3' )
    80 					<?php
    94 					)
    81 					printf(
    95 				);
    82 						/* translators: %s: HelpHub URL. */
    96 				?>
    83 						__( 'For more information, see <a href="%s">the release notes</a>.' ),
    97 			</p>
    84 						sprintf(
    98 			<p>
    85 							/* translators: %s: WordPress version. */
    99 				<?php
    86 							esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
   100 				printf(
    87 							sanitize_title( '5.5.1' )
   101 					/* translators: 1: WordPress version number, 2: plural number of bugs. */
    88 						)
   102 					_n(
    89 					);
   103 						'<strong>Version %1$s</strong> addressed %2$s bug.',
    90 					?>
   104 						'<strong>Version %1$s</strong> addressed %2$s bugs.',
    91 				</p>
   105 						13
    92 			</div>
   106 					),
    93 		</div>
   107 					'5.2.2',
    94 
   108 					number_format_i18n( 13 )
    95 		<hr />
   109 				);
    96 
   110 				?>
    97 		<div class="about__section has-1-column">
   111 				<?php
    98 			<div class="column">
   112 				printf(
    99 				<h2><?php _e( 'Speed' ); ?></h2>
   113 					/* translators: %s: HelpHub URL */
   100 				<p><strong><?php _e( 'Posts and pages feel faster, thanks to lazy-loaded images.' ); ?></strong></p>
   114 					__( 'For more information, see <a href="%s">the release notes</a>.' ),
   101 				<p><?php _e( 'Images give your story a lot of impact, but they can sometimes make your site seem slow.' ); ?></p>
   115 					sprintf(
   102 				<p><?php _e( 'In WordPress 5.5, images wait to load until they’re just about to scroll into view. The technical term is ‘lazy loading’.' ); ?></p>
   116 						/* translators: %s: WordPress version */
   103 				<p><?php _e( 'On mobile, lazy loading can also keep browsers from loading files meant for other devices. That can save your readers money on data — and help preserve battery life.' ); ?></p>
   117 						esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
   104 			</div>
   118 						sanitize_title( '5.2.2' )
   105 		</div>
   119 					)
   106 
   120 				);
   107 		<div class="about__section has-1-column">
   121 				?>
   108 			<div class="column">
   122 			</p>
   109 				<h2><?php _ex( 'Search', 'sitemap' ); ?></h2>
   123 			<p>
   110 				<p><strong><?php _e( 'Say hello to your new sitemap.' ); ?></strong></p>
   124 				<?php
   111 				<p><?php _e( 'WordPress sites work well with search engines.' ); ?></p>
   125 				printf(
   112 				<p><?php _e( 'Now, by default, WordPress 5.5 includes an XML sitemap that helps search engines discover your most important pages from the very minute you go live.' ); ?></p>
   126 					/* translators: 1: WordPress version number, 2: plural number of bugs. */
   113 				<p><?php _e( 'So more people will find your site sooner, giving you more time to engage, retain and convert them to subscribers, customers or whatever fits your definition of success.' ); ?></p>
   127 					_n(
   114 			</div>
   128 						'<strong>Version %1$s</strong> addressed %2$s bug.',
   115 		</div>
   129 						'<strong>Version %1$s</strong> addressed %2$s bugs.',
   116 
   130 						33
   117 		<hr />
   131 					),
   118 
   132 					'5.2.1',
   119 		<div class="about__section has-2-columns has-accent-background-color is-wider-right">
   133 					number_format_i18n( 33 )
   120 			<div class="column">
   134 				);
   121 				<h2><?php _e( 'Security' ); ?></h2>
   135 				?>
   122 				<p><strong><?php _e( 'Auto-updates for Plugins and Themes' ); ?></strong></p>
   136 				<?php
   123 				<p><?php _e( 'Now you can set plugins and themes to update automatically — or not! — in the WordPress admin. So you always know your site is running the latest code available.' ); ?></p>
   137 				printf(
   124 				<p><?php _e( 'You can also turn auto-updates on or off for each plugin or theme you have installed — all on the same screens you’ve always used.' ); ?></p>
   138 					/* translators: %s: HelpHub URL */
   125 				<p><strong><?php _e( 'Update by uploading ZIP files' ); ?></strong></p>
   139 					__( 'For more information, see <a href="%s">the release notes</a>.' ),
   126 				<p><?php _e( 'If updating plugins and themes manually is your thing, now that’s easier too — just upload a ZIP file.' ); ?></p>
   140 					sprintf(
   127 			</div>
   141 						/* translators: %s: WordPress version */
   128 			<div class="column about__image is-vertically-aligned-center">
   142 						esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
   129 				<figure aria-labelledby="about-security" class="about__image">
   143 						sanitize_title( '5.2.1' )
   130 					<video controls poster="https://s.w.org/images/core/5.5/auto-updates-poster.png">
   144 					)
   131 						<source src="https://s.w.org/images/core/5.5/auto-updates.mp4" type="video/mp4" />
   145 				);
   132 						<source src="https://s.w.org/images/core/5.5/auto-updates.webm" type="video/webm" />
   146 				?>
   133 					</video>
   147 			</p>
   134 					<figcaption id="about-security" class="screen-reader-text"><?php _e( 'Video: Installed plugin screen, which shows a new column, Automatic Updates. In this column are buttons that say "Enable auto-updates". When clicked, the auto-updates feature is turned on for that plugin, and the button switches to say "Disable auto-updates".' ); ?></figcaption>
   148 		</div>
   135 				</figure>
   149 
   136 			</div>
   150 		<div class="headline-feature">
   137 		</div>
   151 			<h2><?php _e( 'Keeping Your Site Safe' ); ?></h2>
   138 
   152 			<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>
   139 		<hr />
   153 			<div class="inline-svg aligncenter">
   140 
   154 				<img src="https://s.w.org/images/core/5.2/about_maintain-wordpress-v2.svg" alt="">
   141 		<div class="about__section has-subtle-background-color">
   155 			</div>
   142 			<div class="column">
   156 		</div>
   143 				<h2><?php _e( 'Highlights from the block editor' ); ?></h2>
   157 
   144 				<p><?php _e( 'Once again, the latest WordPress release packs a long list of exciting new features for the block editor. For example:' ); ?></p>
   158 		<hr />
   145 			</div>
   159 
   146 		</div>
   160 		<div class="feature-section is-wide has-2-columns is-wider-left">
   147 		<div class="about__section has-2-columns has-subtle-background-color">
   161 			<div class="column is-vertically-aligned-center">
   148 			<div class="column about__image is-vertically-aligned-center">
   162 				<h3><?php _e( 'Site Health Check' ); ?></h3>
   149 				<figure aria-labelledby="about-block-pattern" class="about__image">
   163 				<p>
   150 					<video controls poster="https://s.w.org/images/core/5.5/block-patterns-poster.png">
   164 					<?php
   151 						<source src="https://s.w.org/images/core/5.5/block-patterns.mp4" type="video/mp4" />
   165 					printf(
   152 						<source src="https://s.w.org/images/core/5.5/block-patterns.webm" type="video/webm" />
   166 						/* translators: 1: link to the WordPress 5.1 release post */
   153 					</video>
   167 						__( 'Building on <a href="%1$s">the Site Health features introduced in 5.1</a>, this release adds two new pages to help debug common configuration issues. It also adds space where developers can include debugging information for site maintainers.' ),
   154 					<figcaption id="about-block-pattern" class="screen-reader-text"><?php _e( 'Video: In the editor, the block inserter shows two tabs, Blocks and Patterns. The Patterns tab is selected. There are different block layouts in this tab. After scrolling through options including buttons and columns, a pattern called "Large header with a heading" is chosen. This adds a cover block, which is customized with a photo and the name of the WordPress 5.5 jazz musician.' ); ?></figcaption>
   168 						__( 'https://wordpress.org/news/2019/02/betty/' )
   155 				</figure>
   169 					);
   156 				<hr />
   170 
   157 				<figure aria-labelledby="about-image-editor" class="about__image">
   171 					if ( current_user_can( 'install_plugins' ) ) {
   158 					<video controls poster="https://s.w.org/images/core/5.5/inline-image-editing-poster.png">
       
   159 						<source src="https://s.w.org/images/core/5.5/inline-image-editing.mp4" type="video/mp4" />
       
   160 						<source src="https://s.w.org/images/core/5.5/inline-image-editing-1.webm" type="video/webm" />
       
   161 					</video>
       
   162 					<figcaption id="about-image-editor" class="screen-reader-text"><?php _e( 'Video: An image is added with an image block. In the block toolbar, an icon called "Crop" is selected, which changes the toolbar to show image resizing tools. First, zoom is used to zoom into the center of the image. Next, aspect ratio is clicked. This shows a dropdown of common aspect ratios. Square is chosen, and the image is moved within the new square outline. The crop is completed by clicking "Apply."' ); ?></figcaption>
       
   163 				</figure>
       
   164 			</div>
       
   165 			<div class="column">
       
   166 				<h3><?php _e( 'Block patterns' ); ?></h3>
       
   167 				<p><?php _e( 'New block patterns make it simple and fun to create complex, beautiful layouts, using combinations of text and media that you can mix and match to fit your story.' ); ?></p>
       
   168 				<p><?php _e( 'You will also find block patterns in a wide variety of plugins and themes, with more added all the time. Pick any of them from a single place — just click and go!' ); ?></p>
       
   169 				<h3><?php _e( 'Inline image editing' ); ?></h3>
       
   170 				<p><?php _e( 'Crop, rotate, and zoom your photos right from the image block. If you spend a lot of time on images, this could save you hours!' ); ?></p>
       
   171 
       
   172 				<h3><?php _e( 'The New Block Directory' ); ?></h3>
       
   173 				<p><?php _e( 'Now it’s easier than ever to find the block you need. The new block directory is built right into the block editor, so you can install new block types to your site without ever leaving the editor.' ); ?></p>
       
   174 
       
   175 				<h3><?php _e( 'And so much more.' ); ?></h3>
       
   176 				<p><?php _e( 'The highlights above are a tiny fraction of the new block editor features you’ve just installed. Open the block editor and enjoy!' ); ?></p>
       
   177 			</div>
       
   178 		</div>
       
   179 
       
   180 		<hr />
       
   181 
       
   182 		<div class="about__section has-1-column">
       
   183 			<div class="column">
       
   184 				<h2><?php _e( 'Accessibility' ); ?></h2>
       
   185 				<p><?php _e( 'Every release adds improvements to the accessible publishing experience, and that remains true for WordPress 5.5.' ); ?></p>
       
   186 				<p><?php _e( 'Now you can copy links in media screens and modal dialogs with a button, instead of trying to highlight a line of text.' ); ?></p>
       
   187 				<p><?php _e( 'You can also move meta boxes with the keyboard, and edit images in WordPress with your assistive device, as it can read you the instructions in the image editor.' ); ?></p>
       
   188 			</div>
       
   189 		</div>
       
   190 
       
   191 		<hr />
       
   192 
       
   193 		<div class="about__section has-subtle-background-color has-2-columns">
       
   194 			<header class="is-section-header">
       
   195 				<h2><?php _e( 'For developers' ); ?></h2>
       
   196 				<p><?php _e( '5.5 also brings a big box of changes just for developers.' ); ?></p>
       
   197 			</header>
       
   198 			<div class="column">
       
   199 				<h3><?php _e( 'Server-side registered blocks in the REST API' ); ?></h3>
       
   200 				<p><?php _e( 'The addition of block types endpoints means that JavaScript apps (like the block editor) can retrieve definitions for any blocks registered on the server.' ); ?></p>
       
   201 			</div>
       
   202 			<div class="column">
       
   203 				<h3><?php _e( 'Dashicons' ); ?></h3>
       
   204 				<p><?php _e( 'The Dashicons library has received its final update in 5.5. It adds 39 block editor icons along with 26 others.' ); ?></p>
       
   205 			</div>
       
   206 		</div>
       
   207 
       
   208 		<div class="about__section has-subtle-background-color has-2-columns">
       
   209 			<div class="column">
       
   210 				<h3><?php _e( 'Defining environments' ); ?></h3>
       
   211 				<p>
       
   212 					<?php
       
   213 					printf(
       
   214 						/* translators: %s: 'wp_get_environment_type' function name. */
       
   215 						__( 'WordPress now has a standardized way to define a site’s environment type (staging, production, etc). Retrieve that type with %s and execute only the appropriate code.' ),
       
   216 						'<code>wp_get_environment_type()</code>'
       
   217 					);
       
   218 					?>
       
   219 				</p>
       
   220 			</div>
       
   221 			<div class="column">
       
   222 				<h3><?php _e( 'Passing data to template files' ); ?></h3>
       
   223 				<p>
       
   224 					<?php
       
   225 					printf(
       
   226 						/* translators: %1$s: 'get_header' function name, %2$s: 'get_template_part' function name, %3$s: '$args' variable name. */
       
   227 						__( 'The template loading functions (%1$s, %2$s, etc.) have a new %3$s argument. So now you can pass an entire array’s worth of data to those templates.' ),
       
   228 						'<code>get_header()</code>',
       
   229 						'<code>get_template_part()</code>',
       
   230 						'<code>$args</code>'
       
   231 					);
       
   232 					?>
       
   233 				</p>
       
   234 			</div>
       
   235 		</div>
       
   236 
       
   237 		<div class="about__section has-subtle-background-color">
       
   238 			<div class="column">
       
   239 				<h3><?php _e( 'More changes for developers' ); ?></h3>
       
   240 				<ul>
       
   241 					<li><?php _e( 'The PHPMailer library just got a major update, going from version 5.2.27 to 6.1.6.' ); ?></li>
       
   242 					<li>
       
   243 						<?php
   172 						printf(
   244 						printf(
   173 							/* translators: 1: link to /wp-admin/site-health.php 2: link to /wp-admin/site-health.php?tab=debug */
   245 							/* translators: %s: 'redirect_guess_404_permalink' function name. */
   174 							__( ' <a href="%1$s">Check your site status</a>, and <a href="%2$s">learn how to debug issues</a>.' ),
   246 							__( 'Now get more fine-grained control of %s.' ),
   175 							admin_url( 'site-health.php' ),
   247 							'<code>redirect_guess_404_permalink()</code>'
   176 							admin_url( 'site-health.php?tab=debug' )
       
   177 						);
   248 						);
   178 					}
   249 						?>
   179 					?>
   250 					</li>
   180 				</p>
   251 					<li>
   181 			</div>
   252 						<?php
   182 			<div class="column">
   253 						printf(
   183 				<div class="inline-svg aligncenter">
   254 							/* translators: %s: 'wp_opcache_invalidate' function name. */
   184 					<img src="https://s.w.org/images/core/5.2/about_site-health.svg" alt="">
   255 							__( 'Sites that use PHP’s OPcache will see more reliable cache invalidation, thanks to the new %s function during updates (including to plugins and themes).' ),
   185 				</div>
   256 							'<code>wp_opcache_invalidate()</code>'
   186 			</div>
   257 						);
   187 		</div>
   258 						?>
   188 
   259 					</li>
   189 		<hr />
   260 					<li><?php _e( 'Custom post types associated with the category taxonomy can now opt-in to supporting the default term.' ); ?></li>
   190 
   261 					<li>
   191 		<div class="feature-section is-wide has-2-columns is-wider-right">
   262 						<?php
   192 			<div class="column">
   263 						printf(
   193 				<div class="inline-svg aligncenter">
   264 							/* translators: %s: 'register_taxonomy' function name. */
   194 					<img src="https://s.w.org/images/core/5.2/about_error-protection.svg" alt="">
   265 							__( 'Default terms can now be specified for custom taxonomies in %s.' ),
   195 				</div>
   266 							'<code>register_taxonomy()</code>'
   196 			</div>
   267 						);
   197 			<div class="column is-vertically-aligned-center">
   268 						?>
   198 				<h3><?php _e( 'PHP Error Protection' ); ?></h3>
   269 					</li>
   199 				<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>
   270 					<li>
   200 			</div>
   271 						<?php
   201 		</div>
   272 						printf(
   202 
   273 							/* translators: %s: 'register_meta' function name. */
   203 		<hr />
   274 							__( 'The REST API now officially supports specifying default metadata values through %s.' ),
   204 
   275 							'<code>register_meta()</code>'
   205 		<h3 class="aligncenter"><?php _e( 'Improvements for Everyone' ); ?></h3>
   276 						);
   206 
   277 						?>
   207 		<div class="has-2-columns">
   278 					</li>
   208 			<div class="column aligncenter">
   279 					<li><?php _e( 'You will find updated versions of these bundled libraries: SimplePie, Twemoji, Masonry, imagesLoaded, getID3, Moment.js, and clipboard.js.' ); ?></li>
   209 				<h4><?php _e( 'Accessibility Updates' ); ?></h4>
   280 				</ul>
   210 				<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>
   281 			</div>
   211 			</div>
   282 		</div>
   212 			<div class="column aligncenter">
   283 
   213 				<h4><?php _e( 'New Dashboard Icons' ); ?></h4>
   284 		<hr class="is-small" />
   214 				<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>
   285 
   215 			</div>
   286 		<div class="about__section">
   216 		</div>
   287 			<div class="column">
   217 
   288 				<h3><?php _e( 'Check the Field Guide for more!' ); ?></h3>
   218 		<hr />
   289 				<p>
   219 
   290 					<?php
   220 		<h3 class="aligncenter"><?php _e( 'Developer Happiness' ); ?></h3>
   291 					printf(
   221 
   292 						/* translators: %s: WordPress 5.5 Field Guide link. */
   222 		<div class="has-2-columns is-fullwidth">
   293 						__( 'There’s a lot more for developers to love in WordPress 5.5. To discover more and learn how to make these changes shine on your sites, themes, plugins and more, check the <a href="%s">WordPress 5.5 Field Guide.</a>' ),
   223 			<div class="column">
   294 						'https://make.wordpress.org/core/wordpress-5-5-field-guide/'
   224 				<h4><a href="https://make.wordpress.org/core/2019/03/26/coding-standards-updates-for-php-5-6/"><?php _e( 'PHP Version Bump' ); ?></a></h4>
   295 					);
   225 				<p><?php _e( 'The minimum supported PHP version is now 5.6.20. As of WordPress 5.2, themes and plugins can safely take advantage of namespaces, anonymous functions, and more!' ); ?></p>
   296 					?>
   226 			</div>
   297 				</p>
   227 			<div class="column">
       
   228 				<h4><a href="https://make.wordpress.org/core/2019/04/24/developer-focused-privacy-updates-in-5-2/"><?php _e( 'Privacy Updates' ); ?></a></h4>
       
   229 				<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>
       
   230 			</div>
       
   231 		</div>
       
   232 		<div class="has-2-columns is-fullwidth">
       
   233 			<div class="column">
       
   234 				<h4><a href="https://make.wordpress.org/core/2019/04/24/miscellaneous-developer-updates-in-5-2/"><?php _e( 'New Body Tag Hook' ); ?></a></h4>
       
   235 				<p>
       
   236 					<?php
       
   237 					printf(
       
   238 						/* translators: 1: wp_body_open 2: <body> */
       
   239 						__( '5.2 introduces a %1$s hook, which lets themes support injecting code right at the beginning of the %2$s element.' ),
       
   240 						'<code>wp_body_open</code>',
       
   241 						'<code>&lt;body&gt;</code>'
       
   242 					);
       
   243 					?>
       
   244 				</p>
       
   245 			</div>
       
   246 			<div class="column">
       
   247 				<h4><a href="https://make.wordpress.org/core/2019/03/25/building-javascript/"><?php _e( 'Building JavaScript' ); ?></a></h4>
       
   248 				<p><?php _e( 'With the addition of webpack and Babel configurations in the @wordpress/scripts package, developers won&#8217;t have to worry about setting up complex build tools to write modern JavaScript.' ); ?></p>
       
   249 			</div>
   298 			</div>
   250 		</div>
   299 		</div>
   251 
   300 
   252 		<hr />
   301 		<hr />
   253 
   302 
   260 			<a href="<?php echo esc_url( self_admin_url() ); ?>"><?php is_blog_admin() ? _e( 'Go to Dashboard &rarr; Home' ) : _e( 'Go to Dashboard' ); ?></a>
   309 			<a href="<?php echo esc_url( self_admin_url() ); ?>"><?php is_blog_admin() ? _e( 'Go to Dashboard &rarr; Home' ) : _e( 'Go to Dashboard' ); ?></a>
   261 		</div>
   310 		</div>
   262 	</div>
   311 	</div>
   263 <?php
   312 <?php
   264 
   313 
   265 include( ABSPATH . 'wp-admin/admin-footer.php' );
   314 require_once ABSPATH . 'wp-admin/admin-footer.php';
   266 
   315 
   267 // These are strings we may use to describe maintenance/security releases, where we aim for no new strings.
   316 // These are strings we may use to describe maintenance/security releases, where we aim for no new strings.
   268 return;
   317 return;
   269 
   318 
   270 __( 'Maintenance Release' );
   319 __( 'Maintenance Release' );
   274 __( 'Security Releases' );
   323 __( 'Security Releases' );
   275 
   324 
   276 __( 'Maintenance and Security Release' );
   325 __( 'Maintenance and Security Release' );
   277 __( 'Maintenance and Security Releases' );
   326 __( 'Maintenance and Security Releases' );
   278 
   327 
   279 /* translators: %s: WordPress version number */
   328 /* translators: %s: WordPress version number. */
   280 __( '<strong>Version %s</strong> addressed one security issue.' );
   329 __( '<strong>Version %s</strong> addressed one security issue.' );
   281 /* translators: %s: WordPress version number */
   330 /* translators: %s: WordPress version number. */
   282 __( '<strong>Version %s</strong> addressed some security issues.' );
   331 __( '<strong>Version %s</strong> addressed some security issues.' );
   283 
   332 
   284 /* translators: 1: WordPress version number, 2: plural number of bugs. */
   333 /* translators: 1: WordPress version number, 2: Plural number of bugs. */
   285 _n_noop(
   334 _n_noop(
   286 	'<strong>Version %1$s</strong> addressed %2$s bug.',
   335 	'<strong>Version %1$s</strong> addressed %2$s bug.',
   287 	'<strong>Version %1$s</strong> addressed %2$s bugs.'
   336 	'<strong>Version %1$s</strong> addressed %2$s bugs.'
   288 );
   337 );
   289 
   338 
   290 /* translators: 1: WordPress version number, 2: plural number of bugs. Singular security issue. */
   339 /* translators: 1: WordPress version number, 2: Plural number of bugs. Singular security issue. */
   291 _n_noop(
   340 _n_noop(
   292 	'<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bug.',
   341 	'<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bug.',
   293 	'<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bugs.'
   342 	'<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bugs.'
   294 );
   343 );
   295 
   344 
   296 /* translators: 1: WordPress version number, 2: plural number of bugs. More than one security issue. */
   345 /* translators: 1: WordPress version number, 2: Plural number of bugs. More than one security issue. */
   297 _n_noop(
   346 _n_noop(
   298 	'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
   347 	'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
   299 	'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.'
   348 	'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.'
   300 );
   349 );
   301 
   350 
   302 /* translators: %s: Codex URL */
   351 /* translators: %s: Documentation URL. */
   303 __( 'For more information, see <a href="%s">the release notes</a>.' );
   352 __( 'For more information, see <a href="%s">the release notes</a>.' );