From 3fee278cf4caa8ad86e202fbc183139c829e2503 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Fri, 2 Oct 2015 22:45:53 +0000 Subject: [PATCH] Switch the remaining user-facing links to wordpress.org over to HTTPS. Fixes #27115 git-svn-id: https://develop.svn.wordpress.org/trunk@34783 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/dashboard.php | 2 +- src/wp-admin/plugin-editor.php | 2 +- src/wp-admin/theme-editor.php | 2 +- src/wp-includes/general-template.php | 6 +++--- src/xmlrpc.php | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/wp-admin/includes/dashboard.php b/src/wp-admin/includes/dashboard.php index 6fa1ba17f6..b8b7fdb4de 100644 --- a/src/wp-admin/includes/dashboard.php +++ b/src/wp-admin/includes/dashboard.php @@ -1008,7 +1008,7 @@ function wp_dashboard_primary() { * * @param string $link The widget's primary link URL. */ - 'link' => apply_filters( 'dashboard_primary_link', __( 'http://wordpress.org/news/' ) ), + 'link' => apply_filters( 'dashboard_primary_link', __( 'https://wordpress.org/news/' ) ), /** * Filter the primary feed URL for the 'WordPress News' dashboard widget. diff --git a/src/wp-admin/plugin-editor.php b/src/wp-admin/plugin-editor.php index 6c150e8670..d537d324be 100644 --- a/src/wp-admin/plugin-editor.php +++ b/src/wp-admin/plugin-editor.php @@ -254,7 +254,7 @@ foreach ( $plugin_files as $plugin_file ) : -
+
diff --git a/src/wp-admin/theme-editor.php b/src/wp-admin/theme-editor.php index 3c28ff1028..352deee2ca 100644 --- a/src/wp-admin/theme-editor.php +++ b/src/wp-admin/theme-editor.php @@ -208,7 +208,7 @@ else : ?>
- +
diff --git a/src/wp-includes/general-template.php b/src/wp-includes/general-template.php index a5d89aa576..20e609cf23 100644 --- a/src/wp-includes/general-template.php +++ b/src/wp-includes/general-template.php @@ -3211,13 +3211,13 @@ function get_the_generator( $type = '' ) { $gen = ''; break; case 'atom': - $gen = 'WordPress'; + $gen = 'WordPress'; break; case 'rss2': - $gen = 'http://wordpress.org/?v=' . get_bloginfo_rss( 'version' ) . ''; + $gen = 'https://wordpress.org/?v=' . get_bloginfo_rss( 'version' ) . ''; break; case 'rdf': - $gen = ''; + $gen = ''; break; case 'comment': $gen = ''; diff --git a/src/xmlrpc.php b/src/xmlrpc.php index 6b46246985..b3cbc6d675 100644 --- a/src/xmlrpc.php +++ b/src/xmlrpc.php @@ -35,7 +35,7 @@ header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true); WordPress - http://wordpress.org/ + https://wordpress.org/