Help/About: Update URLs in About page

Replace the placeholder links now that the posts have been published. This also updates the jQuery plugin links to to local-site links, if the user can install plugins.

Follow-up to [49640].
Props mukesh27, ocean90.
See #51415.


Built from https://develop.svn.wordpress.org/trunk@49702


git-svn-id: http://core.svn.wordpress.org/trunk@49425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryelle 2020-11-27 17:10:07 +00:00
parent 25d67c30b0
commit 33749fcc74
2 changed files with 18 additions and 6 deletions

View File

@ -171,7 +171,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
printf(
/* translators: %s: Accessibility statement feature plugin link. */
__( 'Even if youre not an expert, you can start letting folks know about your sites commitment to accessibility at the click of a button! The new <a href="%s">feature plugin</a> includes template copy for you to update and publish, and its written to support different contexts and jurisdictions.' ),
'#'
'https://github.com/10degrees/accessibility-statement-plugin'
);
?>
</p>
@ -192,7 +192,15 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
</div>
<div class="column">
<h3><?php _e( 'More PHP 8 support' ); ?></h3>
<p><?php _e( '5.6 marks the first steps toward WordPress Core support for PHP 8. Now is a great time to start planning how your WordPress products, services and sites can support the latest PHP version. For more information about what to expect next, [link text].' ); ?></p>
<p>
<?php
printf(
/* translators: %s: WordPress and PHP 8 dev note link. */
__( '5.6 marks the first steps toward WordPress Core support for PHP 8. Now is a great time to start planning how your WordPress products, services and sites can support the latest PHP version. For more information about what to expect next, <a href="%s">read the PHP 8 developer note</a>.' ),
'https://make.wordpress.org/core/2020/11/23/wordpress-and-php-8-0/'
);
?>
</p>
</div>
</div>
<div class="about__section">
@ -203,7 +211,9 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
printf(
/* translators: %s: jQuery update test plugin link. */
__( 'Updates to jQuery in WordPress take place across three releases: 5.5, 5.6, and 5.7. As we reach the mid-point of this process, run the <a href="%s">update test plugin</a> to check your sites for errors ahead of time.' ),
'https://wordpress.org/plugins/wp-jquery-update-test/'
current_user_can( 'install_plugins' ) ?
esc_url( network_admin_url( 'plugin-install.php?tab=search&type=term&s=slug:wp-jquery-update-test' ) ) :
esc_url( __( 'https://wordpress.org/plugins/wp-jquery-update-test/' ) )
);
?>
</p>
@ -212,7 +222,9 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
printf(
/* translators: %s: jQuery Migrate plugin link. */
__( 'If you find issues with the way your site looks (e.g. a slider doesnt work, a button is stuck — that sort of thing), install the <a href="%s">jQuery Migrate plugin</a>.' ),
'https://wordpress.org/plugins/enable-jquery-migrate-helper/ '
current_user_can( 'install_plugins' ) ?
esc_url( network_admin_url( 'plugin-install.php?tab=search&type=term&s=slug:enable-jquery-migrate-helper' ) ) :
esc_url( __( 'https://wordpress.org/plugins/enable-jquery-migrate-helper/' ) )
);
?>
</p>
@ -229,7 +241,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
printf(
/* translators: %s: WordPress 5.6 Field Guide link. */
__( 'Check out the latest version of the WordPress Field Guide. It highlights developer notes for each change you may want to be aware of. <a href="%s">WordPress 5.6 Field Guide.</a>' ),
'#'
'https://make.wordpress.org/core/2020/11/20/wordpress-5-6-field-guide/'
);
?>
</p>

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.7-alpha-49701';
$wp_version = '5.7-alpha-49702';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.