Skip to content

Commit

Permalink
v3.8.6 (#3623)
Browse files Browse the repository at this point in the history
* Update wording in first activation notice on the dashboard (PR #3583)

Add automatically to match the description on the website. Also without it it sounds like WP Rocket would not know how to deal with the remaining 20%.

* Fixes #3590 Imagify icon not shown in Chrome (PR #3591)

* Translate /languages/rocket.pot in de_DE

translation completed updated for the source file '/languages/rocket.pot'
on the 'de_DE' language.

* Translate /languages/rocket.pot in de_DE

translation completed updated for the source file '/languages/rocket.pot'
on the 'de_DE' language.

* Translate /languages/rocket.pot in de_DE

translation completed updated for the source file '/languages/rocket.pot'
on the 'de_DE' language.

* Translate /languages/rocket.pot in de_DE

translation completed updated for the source file '/languages/rocket.pot'
on the 'de_DE' language.

* Translate /languages/rocket.pot in de_DE

translation completed updated for the source file '/languages/rocket.pot'
on the 'de_DE' language.

* Fixes #3498 Turn off "Delay JS" option when Safe Mode is activated (PR #3574)

* Fixes #3454 Delay JS is not working if scrolling the page with the mouse wheel (PR #3573)

* Closes #2839 Remove Age Verify plugin compatibility files (PR #3585)

* Closes #1744 Show warning when PageSpeed Ninja is active (PR #3580)

* Fixes #3238 Remove empty values in $purge_urls array (PR #3579)

* Fixes #2777 Update text formatting in Rocket Analytics modal (#3598)

* Closes #3113 Stop removing empty lines in the .htaccess (PR #3599)

* Fixes #3605 Replace deprecated jQuery methods (PR #3606)

* Translate /languages/rocket.pot in ru_RU

translation completed for the source file '/languages/rocket.pot'
on the 'ru_RU' language.

* Closes #3564 Update minified filename structure to use query string instead of version in filename (PR #3595)

* Fixes #3083 Update delay JS RegEx to ignore space inside script tags (PR #3587)

* Updating AWX webhook url

* Fixes #3576 Guard rocket_defer_inline_exclusions filter return when used by 3rd parties (PR #3582)

* Fixes #2970 Add new post-type exclusion "cms_block" from CPCSS generation (PR #3550)

* Closes #3423 Add preconnect tag for CDN URLs (#3463)

* Add add_preconnect_cdn() method

* Add integration test draft and notes.

* Implement preconnect for non-crossorigin cdn-urls

* Add fixture, adjust integration test

* Revise forcorrect cdn urls, use crossorigin second

* Run phpcbf

* Update CDN preconnect testcases

* Use agnostic scheme when not provided

* Rerun phpcs

* Clean dns-prefetch out of testcases :)

* Add testcase/solution for `test/tests`

* Closes #3539 Combine @import rules into the minified CSS files (PR #3603)

* update plugin version

* update pot file with changed strings

* Translate /languages/rocket.pot in de_DE

translation completed for the source file '/languages/rocket.pot'
on the 'de_DE' language.

* Translate /languages/rocket.pot in fr_FR

translation completed for the source file '/languages/rocket.pot'
on the 'fr_FR' language.

* Fix #3625 Contact form 7 stop working if dependency scripts are deferred after latest update (PR #3629)

* exclude files from being deferred
* add hooks script to the exclude list

* update translations

* Translate /languages/rocket.pot in tr_TR

translation completed for the source file '/languages/rocket.pot'
on the 'tr_TR' language.

Co-authored-by: Presskopp <[email protected]>
Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Buttigieg <[email protected]>
Co-authored-by: Jorge <[email protected]>
Co-authored-by: Natalia Drause <[email protected]>
Co-authored-by: Caspar Green <[email protected]>
Co-authored-by: Ahmed Saed <[email protected]>
Co-authored-by: Vasilis Manthos <[email protected]>
Co-authored-by: Albert Cintas <[email protected]>
Co-authored-by: Sandy Figueroa <[email protected]>
Co-authored-by: Soponar Cristina <[email protected]>
  • Loading branch information
12 people authored Mar 4, 2021
1 parent b409700 commit d499181
Show file tree
Hide file tree
Showing 64 changed files with 1,891 additions and 1,031 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,5 @@ jobs:
uses: distributhor/workflow-webhook@v1
env:
webhook_type: 'json-extended'
webhook_url: https://awx.wp-media.me:443/api/v2/job_templates/34/github/
webhook_url: https://awx.wm-mgmt.ovh:443/api/v2/job_templates/34/github/
webhook_secret: ${{ secrets.WEBHOOK_KEY_PLUGIN }}
2 changes: 1 addition & 1 deletion assets/img/imagify-hover.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/img/imagify.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion assets/js/lazyload-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ class RocketLazyLoadScripts {
'keydown',
'mouseover',
'touchmove',
'touchstart'
'touchstart',
'wheel'
],
browser
);
Expand Down
2 changes: 1 addition & 1 deletion assets/js/lazyload-scripts.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/js/wpr-admin.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/js/wpr-admin.js.map

Large diffs are not rendered by default.

29 changes: 14 additions & 15 deletions assets/js/wpr-modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,50 +62,49 @@ function ModalWpr(aElem) {
this.titleText = this.title.text();

// Open
this.opener.click(function() {
this.opener.on( 'click', function() {
refThis.open();
return false;
});

// Close
this.closer.click(function() {
this.closer.on( 'click', function() {
refThis.close();
return false;
});

aElem.bind('keyup', function(){
if(event.keyCode == 27){ // ECHAP
$(document).on('keyup', function(e){
if( aElem.length > 0 && 27 === e.keyCode ){ // ECHAP
refThis.close();
return false;
}
});

// Back
this.return.click(function() {
this.return.on( 'click', function() {
refThis.returnToQuestion();
return false;
});

// Click on radio
this.radio.change(function(){
this.radio.on( 'change', function() {
refThis.change($(this));
});

// Write text
this.textFields.keyup(function() {
this.textFields.on( "keyup", function() {
refThis.hiddenDetails.val($(this).val());
if(refThis.hiddenDetails.val() != ''){
if( '' !== refThis.hiddenDetails.val() ){
refThis.button.removeClass('wpr-isDisabled');
refThis.button.removeAttr("disabled");
refThis.button.prop("disabled", false);
}
else{
refThis.button.addClass('wpr-isDisabled');
refThis.button.attr("disabled", true);
refThis.button.prop("disabled", true);
}
});
}


/*
* Change modal state
*/
Expand All @@ -122,7 +121,7 @@ ModalWpr.prototype.change = function(aElem) {
$('.wpr-Modal-fieldHidden').removeClass('wpr-isOpen');
$('.wpr-Modal-hidden').removeClass('wpr-isOpen');
this.button.removeClass('wpr-isDisabled');
this.button.removeAttr("disabled");
this.button.prop("disabled", false);

switch(id){
case 'reason-temporary':
Expand All @@ -148,7 +147,7 @@ ModalWpr.prototype.change = function(aElem) {
field.addClass('wpr-isOpen');
field.find('input, textarea').focus();
refThis.button.addClass('wpr-isDisabled');
refThis.button.attr("disabled", true);
refThis.button.prop("disabled", true);
break;
}
};
Expand All @@ -170,9 +169,9 @@ ModalWpr.prototype.returnToQuestion = function() {
this.hiddenReason.val('');
this.hiddenDetails.val('');

this.radio.attr('checked', false);
this.radio.prop('checked', false);
this.button.addClass('wpr-isDisabled');
this.button.attr("disabled", true);
this.button.prop("disabled", true);

};

Expand Down
1 change: 0 additions & 1 deletion inc/3rd-party/3rd-party.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
require WP_ROCKET_3RD_PARTY_PATH . 'plugins/ecommerce/jigoshop.php';
require WP_ROCKET_3RD_PARTY_PATH . 'plugins/ecommerce/wpshop.php';
require WP_ROCKET_3RD_PARTY_PATH . 'plugins/ecommerce/give.php';
require WP_ROCKET_3RD_PARTY_PATH . 'plugins/age-verify.php';
require WP_ROCKET_3RD_PARTY_PATH . 'plugins/autoptimize.php';
require WP_ROCKET_3RD_PARTY_PATH . 'plugins/envira-gallery.php';
require WP_ROCKET_3RD_PARTY_PATH . 'plugins/cookies/cookie-notice.php';
Expand Down
59 changes: 0 additions & 59 deletions inc/3rd-party/plugins/age-verify.php

This file was deleted.

Loading

0 comments on commit d499181

Please sign in to comment.