From 33749fcc741eb2e350e6b682e442193a66754c5e Mon Sep 17 00:00:00 2001
From: ryelle
Date: Fri, 27 Nov 2020 17:10:07 +0000
Subject: [PATCH] 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
---
wp-admin/about.php | 22 +++++++++++++++++-----
wp-includes/version.php | 2 +-
2 files changed, 18 insertions(+), 6 deletions(-)
diff --git a/wp-admin/about.php b/wp-admin/about.php
index 6387be5de5..e60c56b3c3 100644
--- a/wp-admin/about.php
+++ b/wp-admin/about.php
@@ -171,7 +171,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
printf(
/* translators: %s: Accessibility statement feature plugin link. */
__( 'Even if you’re not an expert, you can start letting folks know about your site’s commitment to accessibility at the click of a button! The new feature plugin includes template copy for you to update and publish, and it’s written to support different contexts and jurisdictions.' ),
- '#'
+ 'https://github.com/10degrees/accessibility-statement-plugin'
);
?>
@@ -192,7 +192,15 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
@@ -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
update test plugin 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/' ) )
);
?>
@@ -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 doesn’t work, a button is stuck — that sort of thing), install the
jQuery Migrate plugin.' ),
- '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/' ) )
);
?>
@@ -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.
WordPress 5.6 Field Guide.' ),
- '#'
+ 'https://make.wordpress.org/core/2020/11/20/wordpress-5-6-field-guide/'
);
?>
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 2135ab946a..dc97bb83a9 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -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.