Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions fancybox.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: FancyBox for WordPress
* Plugin URI: https://wordpress.org/plugins/fancybox-for-wordpress/
* Description: Integrates <a href="http://fancyapps.com/fancybox/3/">FancyBox 3</a> into WordPress.
* Version: 3.4.4
* Version: 3.4.5
* Author: Colorlib
* Author URI: https://colorlib.com/wp/
* Requires at least: 5.6
Expand Down Expand Up @@ -36,7 +36,7 @@
* Plugin Init
*/
// Constants
define( 'FBFW_VERSION', '3.4.4' );
define( 'FBFW_VERSION', '3.4.5' );
define( 'FBFW_PATH', plugin_dir_path( __FILE__ ) );
define( 'FBFW_URL', plugin_dir_url( __FILE__ ) );
define( 'FBFW_PLUGIN_BASE', plugin_basename( __FILE__ ) );
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fancybox-for-wordpress",
"version": "3.4.4",
"version": "3.4.5",
"description": "Integrates FancyBox 3 into WordPress.",
"homepage": "https://wordpress.org/plugins/fancybox-for-wordpress/",
"author": "Colorlib",
Expand Down
9 changes: 8 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tags: fancybox, lightbox, images, photos, pictures
Requires at least: 5.6
Tested up to: 7.2
Requires PHP: 7.4
Stable tag: 3.4.4
Stable tag: 3.4.5
License: GPLv3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -54,6 +54,10 @@ This plugin is developed and maintained by [Colorlib](https://colorlib.com/), wh
If it is useful to you, a [review](https://wordpress.org/support/plugin/fancybox-for-wordpress/reviews/?filter=5) genuinely helps.

== Changelog ==
= 3.4.5 =
Security: Updated DOMPurify, which filters captions and link content, to 3.5.0 for its latest security fixes.
Fixed: On PHP 7.4 and 8.0, an apostrophe saved as `&#039;` in the custom JavaScript settings (custom expression, extra calls, callbacks) stayed encoded and broke the script. These settings now behave the same on every PHP version.

= 3.4.4 =
Fixed: Content your own site opens in the lightbox from JavaScript, such as a login form loaded with `.fancyboxforwp({ type: 'ajax', src: ... })`, kept only its text since 3.4.3: form fields and styles were removed. The 3.4.3 security rules now apply where they were meant to, to what a link supplies itself through its `href` or `data-` attributes, and captions on links are still filtered. Thanks to David Anderson for the report.
= 3.4.3 =
Expand Down Expand Up @@ -383,6 +387,9 @@ Fixed errors causes by WordPress SVN.

== Upgrade Notice ==

= 3.4.5 =
Updates DOMPurify to 3.5.0 for its latest security fixes, and fixes custom JavaScript settings containing apostrophes on PHP 7.4 and 8.0.

= 3.4.4 =
Fixes forms and styles disappearing from content your own site opens in the lightbox from JavaScript, a regression in 3.4.3. The 3.4.3 security protections for links are unchanged.

Expand Down