Skip to content

Commit

Permalink
changelog update; remove console.log; scripts minify
Browse files Browse the repository at this point in the history
  • Loading branch information
razvanaldea89 committed Sep 30, 2024
1 parent c5a96d6 commit fdd7111
Show file tree
Hide file tree
Showing 6 changed files with 1,008 additions and 831 deletions.
2 changes: 1 addition & 1 deletion assets/js/admin/wp-modula-gutenberg.min.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion assets/js/front/modula-fancybox.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ if ('undefined' !== typeof jQuery) {
// Main lightbox object.
var modulaFancybox = {
open: function (links, opts, index) {
console.log(DOMPurify);
links.forEach(function (value, index) {
if (typeof value.opts.caption !== 'undefined') {
links[index]['caption'] = DOMPurify.sanitize(value.opts.caption);
Expand Down
2 changes: 1 addition & 1 deletion assets/js/front/modula-fancybox.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 changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
= 2.10.2 - TBA =
= 2.10.2 - 30.09.2024 =
Added: Multiple columns for the Masonry gallery type
Fixed: Sanitize captions for fancybox (security fix)

Expand Down
Loading

0 comments on commit fdd7111

Please sign in to comment.