Skip to content

Commit

Permalink
Remove HTTPS detection/migration since landed in WP 5.7
Browse files Browse the repository at this point in the history
  • Loading branch information
westonruter committed Jul 7, 2021
1 parent cb40420 commit e32cc58
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 1,355 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
WordPress feature plugin to bring Progressive Web App (PWA) capabilities to Core

**Contributors:** [google](https://profiles.wordpress.org/google), [xwp](https://profiles.wordpress.org/xwp), [westonruter](https://profiles.wordpress.org/westonruter), [albertomedina](https://profiles.wordpress.org/albertomedina)
**Tags:** [pwa](https://wordpress.org/plugins/tags/pwa), [progressive web apps](https://wordpress.org/plugins/tags/progressive-web-apps), [service workers](https://wordpress.org/plugins/tags/service-workers), [web app manifest](https://wordpress.org/plugins/tags/web-app-manifest), [https](https://wordpress.org/plugins/tags/https)
**Tags:** [pwa](https://wordpress.org/plugins/tags/pwa), [progressive web apps](https://wordpress.org/plugins/tags/progressive-web-apps), [service workers](https://wordpress.org/plugins/tags/service-workers), [web app manifest](https://wordpress.org/plugins/tags/web-app-manifest)
**Requires at least:** 5.5
**Tested up to:** 5.7
**Stable tag:** 0.6.0
Expand Down
9 changes: 0 additions & 9 deletions pwa.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,12 +191,6 @@ function _pwa_check_disabled_navigation_preload() {
/** WP_Web_App_Manifest Class */
require_once PWA_PLUGIN_DIR . '/wp-includes/class-wp-web-app-manifest.php';

/** WP_HTTPS_Detection Class */
require_once PWA_PLUGIN_DIR . '/wp-includes/class-wp-https-detection.php';

/** WP_HTTPS_UI Class */
require_once PWA_PLUGIN_DIR . '/wp-includes/class-wp-https-ui.php';

/** WP_Service_Workers Class */
require_once PWA_PLUGIN_DIR . '/wp-includes/class-wp-service-workers.php';

Expand Down Expand Up @@ -296,7 +290,4 @@ function pwa_load_service_worker_integrations( WP_Service_Worker_Scripts $script
$wp_web_app_manifest = new WP_Web_App_Manifest();
$wp_web_app_manifest->init();

$wp_https_detection = new WP_HTTPS_Detection();
$wp_https_detection->init();

require_once PWA_PLUGIN_DIR . '/wp-admin/options-reading-offline-browsing.php';
365 changes: 0 additions & 365 deletions tests/test-class-wp-https-detection.php

This file was deleted.

Loading

0 comments on commit e32cc58

Please sign in to comment.