From 6c2d084c421ef6036fad5f84ef883291bc320004 Mon Sep 17 00:00:00 2001 From: Alex S <17275120+AlexGStapleton@users.noreply.github.com> Date: Thu, 28 Feb 2019 02:45:15 +1000 Subject: [PATCH 01/16] Account for missing Custom Icon --- inc/template-tags.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/inc/template-tags.php b/inc/template-tags.php index bfcf8315..dedca2b0 100644 --- a/inc/template-tags.php +++ b/inc/template-tags.php @@ -400,7 +400,7 @@ function siteorigin_north_custom_icon( $icon, $class ) { function siteorigin_north_display_icon( $type ) { switch ( $type ) { case 'menu': - if ( siteorigin_setting( 'icons_menu' ) ) : ?> + if ( siteorigin_setting( 'icons_menu' ) && wp_attachment_is_image( siteorigin_setting( 'icons_menu' ) ) ) : ?>
@@ -412,7 +412,7 @@ function siteorigin_north_display_icon( $type ) { break; case 'close': - if ( siteorigin_setting( 'icons_close_search' ) ) : ?> + if ( siteorigin_setting( 'icons_close_search' ) && wp_attachment_is_image( siteorigin_setting( 'icons_close_search' ) ) ) : ?> + if ( siteorigin_setting( 'icons_scroll_to_top' ) && wp_attachment_is_image( siteorigin_setting( 'icons_scroll_to_top' ) ) ) : ?> @@ -445,7 +445,7 @@ function siteorigin_north_display_icon( $type ) { break; case 'search': - if ( siteorigin_setting( 'icons_search' ) ) : ?> + if ( siteorigin_setting( 'icons_search' ) && wp_attachment_is_image( siteorigin_setting( 'icons_search' ) ) ) : ?> From d9088c074809f81f1d588f47af586619f5489964 Mon Sep 17 00:00:00 2001 From: Andrew Misplon Date: Thu, 28 Feb 2019 14:09:43 +0200 Subject: [PATCH 02/16] Added option to disable smooth scroll on mobile This is the same body class option we have in Corp. --- functions.php | 1 + js/north.js | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/functions.php b/functions.php index fc038639..7d6482f2 100644 --- a/functions.php +++ b/functions.php @@ -266,6 +266,7 @@ function siteorigin_north_scripts() { wp_localize_script( 'siteorigin-north-script', 'siteoriginNorth', array( 'smoothScroll' => siteorigin_setting( 'navigation_smooth_scroll' ), 'logoScale' => is_numeric( $logo_sticky_scale ) ? $logo_sticky_scale : 0.755, + 'collapse' => siteorigin_setting( 'responsive_menu_breakpoint' ), ) ); // jQuery FitVids. diff --git a/js/north.js b/js/north.js index 18a38a21..24cc5529 100644 --- a/js/north.js +++ b/js/north.js @@ -427,6 +427,11 @@ jQuery( function( $ ) { $( window ).scroll( smShadow ); var smSetup = function() { + + if ( $( 'body' ).hasClass( 'mobile-header-ns' ) && ( $( window ).width() < siteoriginNorth.collapse ) ) { + return; + } + if ( ! $( 'body' ).hasClass( 'page-layout-menu-overlap' ) ) { $mhs.css( 'height', $mh.outerHeight() ); } From 5f6656c80a654ab394d980c563d0a07a33aa4c67 Mon Sep 17 00:00:00 2001 From: Alex S <17275120+AlexGStapleton@users.noreply.github.com> Date: Fri, 1 Mar 2019 01:31:40 +1000 Subject: [PATCH 03/16] Menu: Allow touch and hover to open the sub menu at the same time --- js/north.js | 5 +---- sass/navigation/_menus.scss | 22 +++------------------- style.css | 18 ++++-------------- 3 files changed, 8 insertions(+), 37 deletions(-) diff --git a/js/north.js b/js/north.js index 24cc5529..6f82eb2c 100644 --- a/js/north.js +++ b/js/north.js @@ -112,11 +112,8 @@ jQuery( function( $ ) { $( '.entry-content, .entry-content .panel, .woocommerce #main' ).fitVids( { ignore: '.tableauViz' } ); } - // This this is a touch device. We detect this through ontouchstart, msMaxTouchPoints and MaxTouchPoints. + // Detect if is a touch device. We detect this through ontouchstart, msMaxTouchPoints and MaxTouchPoints. if ( 'ontouchstart' in document.documentElement || window.navigator.msMaxTouchPoints || window.navigator.MaxTouchPoints ) { - $('body').removeClass('no-touch'); - } - if ( !$( 'body' ).hasClass( 'no-touch' ) ) { if ( /iPad|iPhone|iPod/.test( navigator.userAgent ) && ! window.MSStream ) { $( 'body' ).css( 'cursor', 'pointer' ); } diff --git a/sass/navigation/_menus.scss b/sass/navigation/_menus.scss index d31d3ed6..493a737e 100644 --- a/sass/navigation/_menus.scss +++ b/sass/navigation/_menus.scss @@ -97,25 +97,9 @@ color: $navigation__link_hover_color; } } - - @at-root body.no-touch & { - - li:hover, - li.focus { - > ul { - opacity: 1; - @include transform( scale(1) ); - visibility: visible; - } - - &:after { - content: ''; - } - } - } - - .touch-drop { - + + li:hover, + li.focus { > ul { opacity: 1; @include transform( scale(1) ); diff --git a/style.css b/style.css index 307785ab..52f1ad23 100644 --- a/style.css +++ b/style.css @@ -585,8 +585,8 @@ a { .main-navigation ul ul a:hover, .main-navigation ul ul a.focus { color: #595959; } - body.no-touch .main-navigation ul li:hover > ul, - body.no-touch .main-navigation ul li.focus > ul { + .main-navigation ul li:hover > ul, + .main-navigation ul li.focus > ul { opacity: 1; -webkit-transform: scale(1); -moz-transform: scale(1); @@ -594,18 +594,8 @@ a { -o-transform: scale(1); transform: scale(1); visibility: visible; } - body.no-touch .main-navigation ul li:hover:after, - body.no-touch .main-navigation ul li.focus:after { - content: ''; } - .main-navigation ul .touch-drop > ul { - opacity: 1; - -webkit-transform: scale(1); - -moz-transform: scale(1); - -ms-transform: scale(1); - -o-transform: scale(1); - transform: scale(1); - visibility: visible; } - .main-navigation ul .touch-drop:after { + .main-navigation ul li:hover:after, + .main-navigation ul li.focus:after { content: ''; } .main-navigation .menu > li.current-menu-item > a, .main-navigation .menu > li.current-menu-ancestor > a { color: #292929; } From 4915765d6351befb270bfb8e4fc3a15c3f1666fc Mon Sep 17 00:00:00 2001 From: Alex S <17275120+AlexGStapleton@users.noreply.github.com> Date: Fri, 1 Mar 2019 01:34:50 +1000 Subject: [PATCH 04/16] Remove no-touch body_class --- inc/extras.php | 1 - 1 file changed, 1 deletion(-) diff --git a/inc/extras.php b/inc/extras.php index 26e00065..045ce480 100644 --- a/inc/extras.php +++ b/inc/extras.php @@ -22,7 +22,6 @@ function siteorigin_north_body_classes( $classes ) { $classes[] = 'no-js'; $classes[] = 'css3-animations'; - $classes[] = 'no-touch'; if ( siteorigin_setting( 'responsive_disabled' ) == false ) { $classes[] = 'responsive'; } From cbcae680b3d0d5015ae12ed3b4e27647f5ec73d7 Mon Sep 17 00:00:00 2001 From: Alex S <17275120+AlexGStapleton@users.noreply.github.com> Date: Fri, 1 Mar 2019 01:50:24 +1000 Subject: [PATCH 05/16] Menu: Remove no longer needed touch related JavaScript --- js/north.js | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/js/north.js b/js/north.js index 6f82eb2c..60d7df9c 100644 --- a/js/north.js +++ b/js/north.js @@ -119,25 +119,7 @@ jQuery( function( $ ) { } $( '.main-navigation #primary-menu').find('.menu-item-has-children > a' ).each( function() { $( this ).click( function( e ) { - var link = $( this ); - e.stopPropagation(); - link.parent().addClass( 'touch-drop' ); - - if ( link.hasClass( 'hover' ) ) { - link.unbind( 'click' ); - } else { - link.addClass( 'hover' ); - e.preventDefault(); - } - - $( '.main-navigation #primary-menu > .menu-item-has-children:not(.touch-drop) > a' ).click( function() { - link.removeClass('hover').parent().removeClass('touch-drop'); - } ); - - $( document ).click( function() { - link.removeClass( 'hover' ).parent().removeClass( 'touch-drop' ); - } ); - + e.preventDefault(); } ); } ); } From 4743dd3eadeca2007e3b358f2dd0ce32fe388b10 Mon Sep 17 00:00:00 2001 From: Alex S <17275120+AlexGStapleton@users.noreply.github.com> Date: Mon, 4 Mar 2019 05:09:47 +1000 Subject: [PATCH 06/16] Touch Menu - re-add .hover class --- js/north.js | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/js/north.js b/js/north.js index 60d7df9c..95c89e50 100644 --- a/js/north.js +++ b/js/north.js @@ -119,7 +119,18 @@ jQuery( function( $ ) { } $( '.main-navigation #primary-menu').find('.menu-item-has-children > a' ).each( function() { $( this ).click( function( e ) { - e.preventDefault(); + var link = $( this ); + e.stopPropagation(); + + if ( ! link.hasClass( 'hover' ) ) { + link.addClass( 'hover' ); + e.preventDefault(); + } + + // Remove .hover class when user clicks outside of sub menu + $( document ).click( function() { + link.removeClass( 'hover' ); + } ); } ); } ); } From 3d32f0f5a383f0d0cb679df8f20f17492e269e71 Mon Sep 17 00:00:00 2001 From: Alex S <17275120+AlexGStapleton@users.noreply.github.com> Date: Mon, 4 Mar 2019 05:20:18 +1000 Subject: [PATCH 07/16] Touch Menu - add additional check to prevent issues with multiple sub menus and correct formatting --- js/north.js | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/js/north.js b/js/north.js index 95c89e50..661d49f1 100644 --- a/js/north.js +++ b/js/north.js @@ -123,14 +123,18 @@ jQuery( function( $ ) { e.stopPropagation(); if ( ! link.hasClass( 'hover' ) ) { - link.addClass( 'hover' ); - e.preventDefault(); - } + e.preventDefault(); + // Remove .hover from all other sub menus + $( '.hover' ).removeClass( 'hover' ); + + link.addClass( 'hover' ); - // Remove .hover class when user clicks outside of sub menu - $( document ).click( function() { - link.removeClass( 'hover' ); - } ); + // Remove .hover class when user clicks outside of sub menu + $( document ).click( function() { + link.removeClass( 'hover' ); + link.unbind( 'click' ); + } ); + } } ); } ); } From a083ba6c5647660e415012c44b89e3dea6bd09af Mon Sep 17 00:00:00 2001 From: Alex S <17275120+AlexGStapleton@users.noreply.github.com> Date: Mon, 4 Mar 2019 23:54:16 +1000 Subject: [PATCH 08/16] Touch Menu - resole issues in Safari --- js/north.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/north.js b/js/north.js index 661d49f1..6787bfee 100644 --- a/js/north.js +++ b/js/north.js @@ -118,16 +118,16 @@ jQuery( function( $ ) { $( 'body' ).css( 'cursor', 'pointer' ); } $( '.main-navigation #primary-menu').find('.menu-item-has-children > a' ).each( function() { - $( this ).click( function( e ) { + $( document ).on( 'touchstart click', this, function( e ) { var link = $( this ); e.stopPropagation(); if ( ! link.hasClass( 'hover' ) ) { - e.preventDefault(); // Remove .hover from all other sub menus $( '.hover' ).removeClass( 'hover' ); link.addClass( 'hover' ); + e.preventDefault(); // Remove .hover class when user clicks outside of sub menu $( document ).click( function() { From b0ab52a71a67502c2d8bd41c12dba6b3fefc037c Mon Sep 17 00:00:00 2001 From: Alex S <17275120+AlexGStapleton@users.noreply.github.com> Date: Tue, 5 Mar 2019 12:05:40 +1000 Subject: [PATCH 09/16] Menu Touch: Account for Safari animation requirement and avoid Chrome/Firefox issue --- js/north.js | 32 ++++++++++++++------------------ sass/navigation/_menus.scss | 22 +++++++++++++++++++--- style.css | 18 ++++++++++++++---- 3 files changed, 47 insertions(+), 25 deletions(-) diff --git a/js/north.js b/js/north.js index 6787bfee..f23ec58f 100644 --- a/js/north.js +++ b/js/north.js @@ -116,25 +116,26 @@ jQuery( function( $ ) { if ( 'ontouchstart' in document.documentElement || window.navigator.msMaxTouchPoints || window.navigator.MaxTouchPoints ) { if ( /iPad|iPhone|iPod/.test( navigator.userAgent ) && ! window.MSStream ) { $( 'body' ).css( 'cursor', 'pointer' ); + $( 'body' ).addClass( 'ios' ); } - $( '.main-navigation #primary-menu').find('.menu-item-has-children > a' ).each( function() { - $( document ).on( 'touchstart click', this, function( e ) { + + $( '.main-navigation #primary-menu' ).find( '.menu-item-has-children > a' ).each( function() { + $( this ).click( function( e ) { var link = $( this ); e.stopPropagation(); - if ( ! link.hasClass( 'hover' ) ) { - // Remove .hover from all other sub menus - $( '.hover' ).removeClass( 'hover' ); + if ( ! link.parent().hasClass( 'hover' ) ) { + // Remove .hover from all other sub menus + $( '.menu-item.hover' ).removeClass( 'hover' ); + link.parent().addClass( 'hover' ); + e.preventDefault(); + } - link.addClass( 'hover' ); - e.preventDefault(); + // Remove .hover class when user clicks outside of sub menu + $( document ).click( function() { + link.removeClass( 'hover' ); + } ); - // Remove .hover class when user clicks outside of sub menu - $( document ).click( function() { - link.removeClass( 'hover' ); - link.unbind( 'click' ); - } ); - } } ); } ); } @@ -421,11 +422,6 @@ jQuery( function( $ ) { $( window ).scroll( smShadow ); var smSetup = function() { - - if ( $( 'body' ).hasClass( 'mobile-header-ns' ) && ( $( window ).width() < siteoriginNorth.collapse ) ) { - return; - } - if ( ! $( 'body' ).hasClass( 'page-layout-menu-overlap' ) ) { $mhs.css( 'height', $mh.outerHeight() ); } diff --git a/sass/navigation/_menus.scss b/sass/navigation/_menus.scss index 493a737e..c030aac6 100644 --- a/sass/navigation/_menus.scss +++ b/sass/navigation/_menus.scss @@ -97,9 +97,25 @@ color: $navigation__link_hover_color; } } - - li:hover, - li.focus { + + @at-root body.no-touch & { + + li:hover, + li.focus { + > ul { + opacity: 1; + @include transform( scale(1) ); + visibility: visible; + } + + &:after { + content: ''; + } + } + } + + li.hover { + > ul { opacity: 1; @include transform( scale(1) ); diff --git a/style.css b/style.css index 52f1ad23..1686fabb 100644 --- a/style.css +++ b/style.css @@ -585,8 +585,8 @@ a { .main-navigation ul ul a:hover, .main-navigation ul ul a.focus { color: #595959; } - .main-navigation ul li:hover > ul, - .main-navigation ul li.focus > ul { + body.no-touch .main-navigation ul li:hover > ul, + body.no-touch .main-navigation ul li.focus > ul { opacity: 1; -webkit-transform: scale(1); -moz-transform: scale(1); @@ -594,8 +594,18 @@ a { -o-transform: scale(1); transform: scale(1); visibility: visible; } - .main-navigation ul li:hover:after, - .main-navigation ul li.focus:after { + body.no-touch .main-navigation ul li:hover:after, + body.no-touch .main-navigation ul li.focus:after { + content: ''; } + .main-navigation ul li.hover > ul { + opacity: 1; + -webkit-transform: scale(1); + -moz-transform: scale(1); + -ms-transform: scale(1); + -o-transform: scale(1); + transform: scale(1); + visibility: visible; } + .main-navigation ul li.hover:after { content: ''; } .main-navigation .menu > li.current-menu-item > a, .main-navigation .menu > li.current-menu-ancestor > a { color: #292929; } From e4966ae54466bd1eee7428c4190e5401db1c7188 Mon Sep 17 00:00:00 2001 From: Andrew Misplon Date: Wed, 6 Mar 2019 20:16:42 +0200 Subject: [PATCH 10/16] Removed resetMenu function --- js/north.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/js/north.js b/js/north.js index 24cc5529..a5613741 100644 --- a/js/north.js +++ b/js/north.js @@ -154,18 +154,6 @@ jQuery( function( $ ) { container: ".search-form" } ); - var resetMenu = function() { - $( '.main-navigation ul ul' ).each( function() { - var $$ = $( this ); - var width = Math.max.apply( Math, $$.find( '> li > a' ).map( function() { - return $( this ).width(); - } ).get() ); - $$.find( '> li > a' ).width( width ); - } ); - }; - resetMenu(); - $( window ).resize( resetMenu ); - var alignMenu = function() { $( '#primary-menu > li > ul.sub-menu' ).each( function() { var $$ = $( this ); From 41d3b769adc3f07c0d65f48477bce536f9af2ddb Mon Sep 17 00:00:00 2001 From: Alex S <17275120+AlexGStapleton@users.noreply.github.com> Date: Thu, 7 Mar 2019 06:15:13 +1000 Subject: [PATCH 11/16] Touch Menu: Resolve issue with sub menu of sub menu clicks closing parent menu by re-adding parent .hover --- js/north.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/north.js b/js/north.js index f23ec58f..b5be27b0 100644 --- a/js/north.js +++ b/js/north.js @@ -127,7 +127,7 @@ jQuery( function( $ ) { if ( ! link.parent().hasClass( 'hover' ) ) { // Remove .hover from all other sub menus $( '.menu-item.hover' ).removeClass( 'hover' ); - link.parent().addClass( 'hover' ); + link.parents('.menu-item').addClass( 'hover' ); e.preventDefault(); } From b39276b9da1b0ea70e60f6fdb82bd157d3e108e1 Mon Sep 17 00:00:00 2001 From: Alex S <17275120+AlexGStapleton@users.noreply.github.com> Date: Thu, 7 Mar 2019 06:17:46 +1000 Subject: [PATCH 12/16] Touch Menu - Ensure hover is removed when non-menu item is clicked and ensure removal code is run once --- js/north.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/north.js b/js/north.js index b5be27b0..9bc5026c 100644 --- a/js/north.js +++ b/js/north.js @@ -132,8 +132,8 @@ jQuery( function( $ ) { } // Remove .hover class when user clicks outside of sub menu - $( document ).click( function() { - link.removeClass( 'hover' ); + $( document ).one( 'click', function() { + link.parent().removeClass( 'hover' ); } ); } ); From 4bfc1c39f9dbfade61914d2af13bbcca8b68df25 Mon Sep 17 00:00:00 2001 From: Alex S <17275120+AlexGStapleton@users.noreply.github.com> Date: Thu, 7 Mar 2019 06:29:31 +1000 Subject: [PATCH 13/16] Touch Menu - Don't run .hover code on click --- js/north.js | 6 +++++- sass/navigation/_menus.scss | 2 +- style.css | 8 ++++---- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/js/north.js b/js/north.js index 9bc5026c..972e237d 100644 --- a/js/north.js +++ b/js/north.js @@ -120,9 +120,13 @@ jQuery( function( $ ) { } $( '.main-navigation #primary-menu' ).find( '.menu-item-has-children > a' ).each( function() { - $( this ).click( function( e ) { + $( this ).on( 'click touchend', function( e ) { var link = $( this ); e.stopPropagation(); + + if ( e.type == 'click' ) { + return; + } if ( ! link.parent().hasClass( 'hover' ) ) { // Remove .hover from all other sub menus diff --git a/sass/navigation/_menus.scss b/sass/navigation/_menus.scss index c030aac6..db24c6a0 100644 --- a/sass/navigation/_menus.scss +++ b/sass/navigation/_menus.scss @@ -98,7 +98,7 @@ } } - @at-root body.no-touch & { + @at-root body:not(.ios) & { li:hover, li.focus { diff --git a/style.css b/style.css index 1686fabb..d95992fa 100644 --- a/style.css +++ b/style.css @@ -585,8 +585,8 @@ a { .main-navigation ul ul a:hover, .main-navigation ul ul a.focus { color: #595959; } - body.no-touch .main-navigation ul li:hover > ul, - body.no-touch .main-navigation ul li.focus > ul { + body:not(.ios) .main-navigation ul li:hover > ul, + body:not(.ios) .main-navigation ul li.focus > ul { opacity: 1; -webkit-transform: scale(1); -moz-transform: scale(1); @@ -594,8 +594,8 @@ a { -o-transform: scale(1); transform: scale(1); visibility: visible; } - body.no-touch .main-navigation ul li:hover:after, - body.no-touch .main-navigation ul li.focus:after { + body:not(.ios) .main-navigation ul li:hover:after, + body:not(.ios) .main-navigation ul li.focus:after { content: ''; } .main-navigation ul li.hover > ul { opacity: 1; From 67378181b4b5638d390970ae00171853ddf50680 Mon Sep 17 00:00:00 2001 From: Andrew Misplon Date: Thu, 14 Mar 2019 11:31:37 +0200 Subject: [PATCH 14/16] Updated changelog --- readme.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/readme.txt b/readme.txt index 2a0dd90e..0f6fb7df 100644 --- a/readme.txt +++ b/readme.txt @@ -96,6 +96,11 @@ Original design files are available on [Google Drive](https://drive.google.com/f == Changelog == += 1.6.8 - 14 March 2019 = +* Added a fallback to the default theme icon if a custom icon is missing. +* Allow main menu hovers when Touch UI Layout is enabled. +* Added a body class option to disable smooth scroll on mobile. + = 1.6.7 - 27 February 2019 = * Removed Jetpack Responsive Videos support in favour of FitVids. From 685a3139e191f031e3c5f1ceaa731c00a472ff9f Mon Sep 17 00:00:00 2001 From: Andrew Misplon Date: Thu, 14 Mar 2019 11:49:14 +0200 Subject: [PATCH 15/16] Added `mobile-header-ns` class conditional back Conditional accidentally removed in #357. --- js/north.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/js/north.js b/js/north.js index 00b0f01d..a957b47a 100644 --- a/js/north.js +++ b/js/north.js @@ -414,6 +414,11 @@ jQuery( function( $ ) { $( window ).scroll( smShadow ); var smSetup = function() { + + if ( $( 'body' ).hasClass( 'mobile-header-ns' ) && ( $( window ).width() < siteoriginNorth.collapse ) ) { + return; + } + if ( ! $( 'body' ).hasClass( 'page-layout-menu-overlap' ) ) { $mhs.css( 'height', $mh.outerHeight() ); } From 3af00b803710a9461f93eb82be806ede125343df Mon Sep 17 00:00:00 2001 From: Andrew Misplon Date: Thu, 14 Mar 2019 11:59:14 +0200 Subject: [PATCH 16/16] Corrected changelog --- readme.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.txt b/readme.txt index 0f6fb7df..69e0fb5c 100644 --- a/readme.txt +++ b/readme.txt @@ -99,7 +99,7 @@ Original design files are available on [Google Drive](https://drive.google.com/f = 1.6.8 - 14 March 2019 = * Added a fallback to the default theme icon if a custom icon is missing. * Allow main menu hovers when Touch UI Layout is enabled. -* Added a body class option to disable smooth scroll on mobile. +* Added a body class option to disable the sticky header on mobile. = 1.6.7 - 27 February 2019 = * Removed Jetpack Responsive Videos support in favour of FitVids.