Skip to content

Commit

Permalink
Merge pull request #8459 from easydigitaldownloads/release/2.10
Browse files Browse the repository at this point in the history
Release/2.10
  • Loading branch information
ashleyfae committed Mar 9, 2021
2 parents e0065c0 + cc8f7e5 commit 520e456
Show file tree
Hide file tree
Showing 57 changed files with 7,037 additions and 862 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Easy-Digital-Downloads.iml
*.pydevproject
.project
.metadata
build/
/build
tmp/
tests/clover.xml

Expand All @@ -35,3 +35,6 @@ vendor

# Temporary files
*~

# Stripe
includes/gateways/stripe
30 changes: 29 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ module.exports = function(grunt) {
checktextdomain: {
options:{
text_domain: 'easy-digital-downloads',
correct_domain: true,
keywords: [
'__:1,2d',
'_e:1,2d',
Expand Down Expand Up @@ -155,9 +156,36 @@ module.exports = function(grunt) {
}
},

replace: {
stripe: {
options: {
patterns: [
{
match: /edd_stripe_bootstrap/g,
replacement: 'edd_stripe_core_bootstrap',
expression: true,
},
{
match: /remove_action(.*);/g,
replacement: '',
expression: true,
}
]
},
files: [
{
expand: true,
flatten: true,
src: [ 'includes/gateways/stripe/edd-stripe.php' ],
dest: 'includes/gateways/stripe'
}
]
}
}

});

// Build task(s).
grunt.registerTask( 'build', [ 'cssmin', 'uglify', 'force:checktextdomain', 'makepot', 'clean', 'copy', 'compress' ] );
grunt.registerTask( 'build', [ 'cssmin', 'uglify', 'force:checktextdomain', 'makepot', 'replace', 'clean', 'copy', 'compress' ] );

};
86 changes: 0 additions & 86 deletions assets/css/colorbox.css

This file was deleted.

1 change: 0 additions & 1 deletion assets/css/colorbox.min.css

This file was deleted.

3 changes: 2 additions & 1 deletion assets/css/edd-admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
text-indent: -9999px;
visibility: hidden;
}
.edd-wrap a {
.edd-wrap a,
.edd-notice .notice-dismiss {
text-decoration: none;
}
a.edd-delete {
Expand Down
2 changes: 1 addition & 1 deletion assets/css/edd-admin.min.css

Large diffs are not rendered by default.

Binary file removed assets/images/colorbox/border.png
Binary file not shown.
Binary file removed assets/images/colorbox/controls.png
Binary file not shown.
Binary file removed assets/images/colorbox/ie6/borderBottomCenter.png
Binary file not shown.
Binary file removed assets/images/colorbox/ie6/borderBottomLeft.png
Binary file not shown.
Binary file removed assets/images/colorbox/ie6/borderBottomRight.png
Binary file not shown.
Binary file removed assets/images/colorbox/ie6/borderMiddleLeft.png
Binary file not shown.
Binary file removed assets/images/colorbox/ie6/borderMiddleRight.png
Binary file not shown.
Binary file removed assets/images/colorbox/ie6/borderTopCenter.png
Binary file not shown.
Binary file removed assets/images/colorbox/ie6/borderTopLeft.png
Binary file not shown.
Binary file removed assets/images/colorbox/ie6/borderTopRight.png
Binary file not shown.
Binary file removed assets/images/colorbox/loading.gif
Binary file not shown.
Binary file removed assets/images/colorbox/loading_background.png
Binary file not shown.
Binary file removed assets/images/colorbox/overlay.png
Binary file not shown.
12 changes: 0 additions & 12 deletions assets/js/admin-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -1204,18 +1204,6 @@ jQuery(document).ready(function ($) {

emails : function() {

// Show the email template previews
var email_preview_wrap = $('#email-preview-wrap');
if( email_preview_wrap.length ) {
var emailPreview = $('#email-preview');
email_preview_wrap.colorbox({
inline: true,
href: emailPreview,
width: '80%',
height: 'auto'
});
}

$('#edd-sendwp-connect').on('click', function(e) {

e.preventDefault();
Expand Down
2 changes: 1 addition & 1 deletion assets/js/admin-scripts.min.js

Large diffs are not rendered by default.

9 changes: 6 additions & 3 deletions assets/js/edd-checkout-global.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,12 @@ window.EDD_Checkout = (function($) {

} else {

if (!inputs.is('.card-address-2')) {
inputs.attr('required','required');
}
inputs.each( function () {
var $input = $( this );
if ( ! $input.is( '.card-name, .card-address, .card-address-2' ) ) {
$input.prop( 'required', true );
}
} );
$('#edd_cc_fields,#edd_cc_address').slideDown();

}
Expand Down
2 changes: 1 addition & 1 deletion assets/js/edd-checkout-global.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit 520e456

Please sign in to comment.