From 9076d0782c836ba4e5acd9e871bececb9d90c033 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Go=C5=82e=CC=A8biowski-Owczarek?= Date: Wed, 13 Jun 2018 14:22:13 +0200 Subject: [PATCH] All: HTTPS-ify most links --- CONTRIBUTING.md | 6 +- INSTALL.md | 6 +- LICENSE.txt | 14 ++-- README.md | 4 +- responsive.html | 12 ++-- sites.php | 22 +++--- themes/api.jquery.com/index.php | 10 +-- themes/api.jquerymobile.com/index.php | 16 ++--- themes/api.jqueryui.com/index.php | 18 ++--- themes/jquery.org/page-conduct.php | 6 +- themes/jquery/footer-bottom.php | 16 ++--- themes/jquery/footer-qunit.php | 4 +- themes/jquery/footer-ui.php | 2 +- themes/jquery/footer.php | 4 +- themes/jquery/functions.php | 2 +- themes/jquery/header.php | 4 +- themes/jquery/menu-header.php | 98 +++++++++++++-------------- themes/jquery/readme.txt | 4 +- themes/jquery/style.css | 2 +- themes/plugins.jquery.com/index.php | 2 +- wp-config-sample.php | 2 +- 21 files changed, 127 insertions(+), 127 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9fe54231..1b94478f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,5 +1,5 @@ -Welcome! Thanks for your interest in contributing to jquery-wp-content. You're **almost** in the right place. More information on how to contribute to this and all other jQuery Foundation projects is over at [contribute.jquery.org](http://contribute.jquery.org). You'll definitely want to take a look at the articles on contributing [to our websites](http://contribute.jquery.org/web-sites/) and [code](http://contribute.jquery.org/code). +Welcome! Thanks for your interest in contributing to jquery-wp-content. You're **almost** in the right place. More information on how to contribute to this and all other jQuery Foundation projects is over at [contribute.jquery.org](https://contribute.jquery.org). You'll definitely want to take a look at the articles on contributing [to our websites](httsp://contribute.jquery.org/web-sites/) and [code](https://contribute.jquery.org/code). -You may also want to take a look at our [commit & pull request guide](http://contribute.jquery.org/commits-and-pull-requests/) and [style guides](http://contribute.jquery.org/style-guide/) for instructions on how to maintain your fork and submit your code. Before we can merge any pull request, we'll also need you to sign our [contributor license agreement](http://contribute.jquery.org/cla). +You may also want to take a look at our [commit & pull request guide](https://contribute.jquery.org/commits-and-pull-requests/) and [style guides](https://contribute.jquery.org/style-guide/) for instructions on how to maintain your fork and submit your code. Before we can merge any pull request, we'll also need you to sign our [contributor license agreement](https://contribute.jquery.org/cla). -You can find us on [IRC](http://irc.jquery.org), specifically in #jquery-content should you have any questions. If you've never contributed to open source before, we've put together [a short guide with tips, tricks, and ideas on getting started](http://contribute.jquery.org/open-source/). +You can find us on [IRC](https://irc.jquery.org), specifically in #jquery-content should you have any questions. If you've never contributed to open source before, we've put together [a short guide with tips, tricks, and ideas on getting started](https://contribute.jquery.org/open-source/). diff --git a/INSTALL.md b/INSTALL.md index 7f17a159..7c5eac2a 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -57,8 +57,8 @@ You do not need to configure your `/etc/hosts` file for `local.*` because `jquer ``` 1. Place the WordPress core files **at** the document root you chose. For example, if you used `/srv/www/jquery`, you should unzip or clone WordPress directly into that directory, *not* a directory below it. **Do not install WordPress.** You can do this any number of ways: - * Download the latest version from http://wordpress.org/latest.zip - * Check out the latest tag from http://core.svn.wordpress.org/tags/ + * Download the latest version from https://wordpress.org/latest.zip + * Check out the latest tag from https://core.svn.wordpress.org/tags/ * Clone the official WordPress Github mirror at https://github.com/WordPress/WordPress 1. Clone `jquery-wp-content` inside of the directory where you put WordPress, so you have a file tree that looks like this: @@ -80,7 +80,7 @@ You do not need to configure your `/etc/hosts` file for `local.*` because `jquer │   └── xmlrpc.php ``` -1. Create a MySQL database and user. You can choose any name you want for both. Follow the [WordPress instructions](http://codex.wordpress.org/Installing_WordPress#Step_2:_Create_the_Database_and_a_User) for a step by step guide. +1. Create a MySQL database and user. You can choose any name you want for both. Follow the [WordPress instructions](https://codex.wordpress.org/Installing_WordPress#Step_2:_Create_the_Database_and_a_User) for a step by step guide. 1. Copy `jquery-wp-content/wp-config-sample.php` and move it up one directory, to `wp-config.php`. Fill in your database credentials. diff --git a/LICENSE.txt b/LICENSE.txt index 7311daf7..55c1648e 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -15,11 +15,11 @@ their own licenses; we recommend you read them, as their terms may differ from the terms above. - Allow Numeric Stubs - http://www.viper007bond.com/wordpress-plugins/allow-numeric-stubs/ + https://wordpress.org/plugins/allow-numeric-stubs/ located at plugins/allow-numeric-stubs - Colorbox - http://www.jacklmoore.com/colorbox/ + https://www.jacklmoore.com/colorbox/ located at themes/jquery/js/plugins.js - Disable Emojis @@ -27,7 +27,7 @@ differ from the terms above. located at mu-plugins/disable-emojis - FlexSlider - http://www.woothemes.com/flexslider/ + https://woocommerce.com/flexslider/ located at themes/jquery/js/plugins.js - Grunt Wordpress @@ -39,11 +39,11 @@ differ from the terms above. located at themes/jquery/js/plugins.js - Modernizr - http://modernizr.com/ + https://modernizr.com/ located at themes/jquery/js/modernizr.custom.2.8.3.min.js - No Comments on Pages - http://jaka.kubje.org/wp/software/no-comments-on-pages/ + https://wordpress.org/plugins/no-comments-on-pages/ located at plugins/no-comments-on-pages - Respond.js @@ -55,11 +55,11 @@ differ from the terms above. located at mu-plugins/jquery.org/lib/Stripe - TinyNav.js - http://tinynav.viljamis.com + http://tinynav.com/ located at themes/jquery/js/plugins.js - VaultPress - http://vaultpress.com/ + https://vaultpress.com/ located at plugins/vaultpress The design, layout, and look-and-feel of jquery-wp-content - including diff --git a/README.md b/README.md index be1b7e01..516f6aae 100644 --- a/README.md +++ b/README.md @@ -9,11 +9,11 @@ Although we recommend using the pre-built VM, if you would like to manually inst This setup guide assumes you have certain prerequisites installed. * [Virtualbox >=4.3+](https://www.virtualbox.org/) -* [Vagrant >=1.4.0](http://www.vagrantup.com/) +* [Vagrant >=1.4.0](https://www.vagrantup.com/) ## Vagrant and Virtualbox -We recommend the combination of Virtualbox and [Vagrant](http://www.vagrantup.com/about.html) for a local development environment. Vagrant simplifies download, installation, and management of the local environment VM with a few commands. +We recommend the combination of Virtualbox and [Vagrant](https://www.vagrantup.com/intro/index.html) for a local development environment. Vagrant simplifies download, installation, and management of the local environment VM with a few commands. ### Setup diff --git a/responsive.html b/responsive.html index 559da254..06a2b4ad 100644 --- a/responsive.html +++ b/responsive.html @@ -15,24 +15,24 @@

320 × 480 (mobile)

- +

480 × 640 (small tablet)

- +

768 × 1024 (tablet - portrait)

- +

1024 × 768 (tablet - landscape)

- +

1200 × 800 (desktop)

- +
- \ No newline at end of file + diff --git a/sites.php b/sites.php index 4c036474..54f335d2 100644 --- a/sites.php +++ b/sites.php @@ -34,7 +34,7 @@ function jquery_sites() { 'blog_id' => 3, 'cookie_domain' => '.jquery.com', 'body_class' => 'jquery', - 'logo_link' => 'http://jquery.com/', + 'logo_link' => 'https://jquery.com/', 'options' => array( 'blogname' => 'jQuery API Documentation', 'stylesheet' => 'api.jquery.com', @@ -88,7 +88,7 @@ function jquery_sites() { 'blog_id' => 8, 'cookie_domain' => '.jqueryui.com', 'body_class' => 'jquery-ui', - 'logo_link' => 'http://jqueryui.com/', + 'logo_link' => 'https://jqueryui.com/', 'options' => array( 'blogname' => 'jQuery UI API Documentation', 'stylesheet' => 'api.jqueryui.com', @@ -99,7 +99,7 @@ function jquery_sites() { 'blog_id' => 17, 'cookie_domain' => '.jqueryui.com', 'body_class' => 'jquery-ui', - 'logo_link' => 'http://jqueryui.com/', + 'logo_link' => 'https://jqueryui.com/', 'options' => array( 'blogname' => 'jQuery UI 1.8 Documentation', 'stylesheet' => 'api.jqueryui.com', @@ -110,7 +110,7 @@ function jquery_sites() { 'blog_id' => 21, 'cookie_domain' => '.jqueryui.com', 'body_class' => 'jquery-ui', - 'logo_link' => 'http://jqueryui.com/', + 'logo_link' => 'https://jqueryui.com/', 'options' => array( 'blogname' => 'jQuery UI 1.9 Documentation', 'stylesheet' => 'api.jqueryui.com', @@ -171,7 +171,7 @@ function jquery_sites() { 'blog_id' => 13, 'cookie_domain' => '.jquerymobile.com', 'body_class' => 'jquery-mobile', - 'logo_link' => 'http://jquerymobile.com/', + 'logo_link' => 'https://jquerymobile.com/', 'options' => array( 'blogname' => 'jQuery Mobile API Documentation', 'stylesheet' => 'api.jquerymobile.com', @@ -182,7 +182,7 @@ function jquery_sites() { 'blog_id' => 14, 'cookie_domain' => '.qunitjs.com', 'body_class' => 'qunitjs', - 'logo_link' => 'http://qunitjs.com/', + 'logo_link' => 'https://qunitjs.com/', 'options' => array( 'blogname' => 'QUnit API Documentation', 'stylesheet' => 'api.qunitjs.com', @@ -277,7 +277,7 @@ function jquery_sites() { 'blog_id' => 24, 'cookie_domain' => '.jquerymobile.com', 'body_class' => 'jquery-mobile', - 'logo_link' => 'http://jquerymobile.com/', + 'logo_link' => 'https://jquerymobile.com/', 'options' => array( 'blogname' => 'jQuery Mobile 1.3 Documentation', 'stylesheet' => 'api.jquerymobile.com', @@ -288,7 +288,7 @@ function jquery_sites() { 'blog_id' => 25, 'cookie_domain' => '.jqueryui.com', 'body_class' => 'jquery-ui', - 'logo_link' => 'http://jqueryui.com/', + 'logo_link' => 'https://jqueryui.com/', 'options' => array( 'blogname' => 'jQuery UI 1.10 Documentation', 'stylesheet' => 'api.jqueryui.com', @@ -299,7 +299,7 @@ function jquery_sites() { 'blog_id' => 26, 'cookie_domain' => '.jqueryui.com', 'body_class' => 'jquery-ui', - 'logo_link' => 'http://jqueryui.com/', + 'logo_link' => 'https://jqueryui.com/', 'options' => array( 'blogname' => 'jQuery UI 1.12 Documentation', 'stylesheet' => 'api.jqueryui.com', @@ -310,7 +310,7 @@ function jquery_sites() { 'blog_id' => 27, 'cookie_domain' => '.jqueryui.com', 'body_class' => 'jquery-ui', - 'logo_link' => 'http://jqueryui.com/', + 'logo_link' => 'https://jqueryui.com/', 'options' => array( 'blogname' => 'jQuery UI 1.11 Documentation', 'stylesheet' => 'api.jqueryui.com', @@ -321,7 +321,7 @@ function jquery_sites() { 'blog_id' => 28, 'cookie_domain' => '.jquerymobile.com', 'body_class' => 'jquery-mobile', - 'logo_link' => 'http://jquerymobile.com/', + 'logo_link' => 'https://jquerymobile.com/', 'options' => array( 'blogname' => 'jQuery Mobile 1.4 Documentation', 'stylesheet' => 'api.jquerymobile.com', diff --git a/themes/api.jquery.com/index.php b/themes/api.jquery.com/index.php index 028f72ec..9f0e771e 100644 --- a/themes/api.jquery.com/index.php +++ b/themes/api.jquery.com/index.php @@ -2,13 +2,13 @@

jQuery API

-

jQuery is a fast, small, and feature-rich JavaScript library. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers. If you're new to jQuery, we recommend that you check out the jQuery Learning Center.

-

If you're updating to a newer version of jQuery, be sure to read the release notes published on our blog. If you're coming from a version prior 1.9, you should check out the 1.9 Upgrade Guide as well.

+

jQuery is a fast, small, and feature-rich JavaScript library. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers. If you're new to jQuery, we recommend that you check out the jQuery Learning Center.

+

If you're updating to a newer version of jQuery, be sure to read the release notes published on our blog. If you're coming from a version prior 1.9, you should check out the 1.9 Upgrade Guide as well.

Note that this is the API documentation for jQuery core. Other projects have API docs in other locations:


diff --git a/themes/api.jquerymobile.com/index.php b/themes/api.jquerymobile.com/index.php index c0b14ef2..4026eb0d 100644 --- a/themes/api.jquerymobile.com/index.php +++ b/themes/api.jquerymobile.com/index.php @@ -20,7 +20,7 @@ popular smartphone, tablet and desktop devices.

If you are new to jQuery Mobile, the introduction to the framework in the - Demos + Demos would be a good place to start.

This site provides API documentation for jQuery Mobile

@@ -28,11 +28,11 @@

This site provides API documentation for jQuery Mobile . - We encourage you to upgrade to the latest stable version of jQuery Mobile + We encourage you to upgrade to the latest stable version of jQuery Mobile in order to receive the best support and take advantage of recent bug fixes and enhancements. Check out the - upgrade guides - and changelogs + upgrade guides + and changelogs to find out more about upgrading.

@@ -44,7 +44,7 @@

jQuery Mobile uses jQuery UI and supports jQuery . -

See the supported platforms page for a list of all +

See the supported platforms page for a list of all operating systems and browsers that are supported by this version of jQuery Mobile.


@@ -62,9 +62,9 @@ $url = $version === $latestVersion ? '/' : "/$version/"; echo "
  • jQuery Mobile $version API Documentation
  • "; } ?> -
  • jQuery Core API Documentation
  • -
  • jQuery UI API Documentation
  • -
  • jQuery Learning Center
  • +
  • jQuery Core API Documentation
  • +
  • jQuery UI API Documentation
  • +
  • jQuery Learning Center
  • diff --git a/themes/api.jqueryui.com/index.php b/themes/api.jqueryui.com/index.php index ca18a684..9f65b2a9 100644 --- a/themes/api.jqueryui.com/index.php +++ b/themes/api.jqueryui.com/index.php @@ -18,9 +18,9 @@

    jQuery UI is a curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library. If you're new to jQuery UI, you might want to check out our - main site for + main site for more information and full demos. If you're new to jQuery, you might - also be interested in the jQuery + also be interested in the jQuery Learning Center tutorials.

    This site provides API documentation for jQuery UI . If @@ -29,18 +29,18 @@ However, we would encourage you to upgrade to jQuery UI in order to receive the best support and take advantage of recent bug fixes and enhancements. Check out the - upgrade guide + upgrade guide to find out more about jQuery UI .

    This site provides API documentation for jQuery UI . We encourage you to upgrade to - the latest stable version of jQuery UI + the latest stable version of jQuery UI in order to receive the best support and take advantage of recent bug fixes and enhancements. Check out the - upgrade guides - and changelogs + upgrade guides + and changelogs to find out more about upgrading.

    @@ -67,9 +67,9 @@ $url = $version === $latestVersion ? '/' : "/$version/"; echo "
  • jQuery UI $version API Documentation
  • "; } ?> -
  • jQuery Core API Documentation
  • -
  • jQuery Mobile API Documentation
  • -
  • jQuery Learning Center
  • +
  • jQuery Core API Documentation
  • +
  • jQuery Mobile API Documentation
  • +
  • jQuery Learning Center
  • diff --git a/themes/jquery.org/page-conduct.php b/themes/jquery.org/page-conduct.php index 040b18e3..642b943b 100644 --- a/themes/jquery.org/page-conduct.php +++ b/themes/jquery.org/page-conduct.php @@ -37,11 +37,11 @@

    License

    All content on this page is licensed under a - Creative Commons Attribution license. + Creative Commons Attribution license.

    - - CC-by + + CC-by

    diff --git a/themes/jquery/footer-bottom.php b/themes/jquery/footer-bottom.php index bf2ee72e..a1dda621 100644 --- a/themes/jquery/footer-bottom.php +++ b/themes/jquery/footer-bottom.php @@ -4,15 +4,15 @@ $links = array( 'Learning Center' => array( 'icon' => 'pencil', - 'url' => 'http://learn.jquery.com/' + 'url' => 'https://learn.jquery.com/' ), 'Forum' => array( 'icon' => 'group', - 'url' => 'http://forum.jquery.com/', + 'url' => 'https://forum.jquery.com/', ), 'API' => array( 'icon' => 'wrench', - 'url' => 'http://api.' . $project . '.com/' + 'url' => 'https://api.' . $project . '.com/' ), 'Twitter' => array( 'icon' => 'twitter', @@ -20,7 +20,7 @@ ), 'IRC' => array( 'icon' => 'comments', - 'url' => 'http://irc.jquery.org/' + 'url' => 'https://irc.jquery.org/' ), 'GitHub' => array( 'icon' => 'github', @@ -30,15 +30,15 @@ switch ( $project ) { case 'jqueryui': - $links[ 'Forum' ][ 'url' ] = 'http://forum.jquery.com/using-jquery-ui/'; + $links[ 'Forum' ][ 'url' ] = 'https://forum.jquery.com/using-jquery-ui/'; $links[ 'Twitter' ][ 'url' ] = 'https://twitter.com/jqueryui'; break; case 'jquerymobile': - $links[ 'Forum' ][ 'url' ] = 'http://forum.jquery.com/jquery-mobile/'; + $links[ 'Forum' ][ 'url' ] = 'https://forum.jquery.com/jquery-mobile/'; $links[ 'Twitter' ][ 'url' ] = 'https://twitter.com/jquerymobile'; break; case 'qunitjs': - $links[ 'Forum' ][ 'url' ] = 'http://forum.jquery.com/qunit-and-testing/'; + $links[ 'Forum' ][ 'url' ] = 'https://forum.jquery.com/qunit-and-testing/'; $links[ 'Twitter' ][ 'url' ] = 'https://twitter.com/qunitjs'; break; } @@ -52,7 +52,7 @@ diff --git a/themes/jquery/footer-qunit.php b/themes/jquery/footer-qunit.php index a68d6be9..f42c541d 100644 --- a/themes/jquery/footer-qunit.php +++ b/themes/jquery/footer-qunit.php @@ -14,14 +14,14 @@
  • - + Testable JavaScript Testable JavaScript Mark Ethan Trostler
  • - + Test-Driven JavaScript Development Test-Driven JavaScript Development Christian Johansen diff --git a/themes/jquery/footer-ui.php b/themes/jquery/footer-ui.php index 76f8d696..8309aab0 100644 --- a/themes/jquery/footer-ui.php +++ b/themes/jquery/footer-ui.php @@ -7,7 +7,7 @@

    Books