Changeset 3353293
- Timestamp:
- 08/31/2025 09:51:35 AM (6 months ago)
- Location:
- bnfw
- Files:
-
- 53 added
- 3 edited
-
tags/1.9.9.1 (added)
-
tags/1.9.9.1/README.txt (added)
-
tags/1.9.9.1/assets (added)
-
tags/1.9.9.1/assets/css (added)
-
tags/1.9.9.1/assets/css/bnfw.css (added)
-
tags/1.9.9.1/assets/css/select2.min.css (added)
-
tags/1.9.9.1/assets/img (added)
-
tags/1.9.9.1/assets/img/icon-256x256.png (added)
-
tags/1.9.9.1/assets/js (added)
-
tags/1.9.9.1/assets/js/bnfw.js (added)
-
tags/1.9.9.1/assets/js/select2.full.min.js (added)
-
tags/1.9.9.1/bnfw.php (added)
-
tags/1.9.9.1/includes (added)
-
tags/1.9.9.1/includes/admin (added)
-
tags/1.9.9.1/includes/admin/bnfw-settings.php (added)
-
tags/1.9.9.1/includes/admin/class-bnfw-notification.php (added)
-
tags/1.9.9.1/includes/admin/class-bnfw-settings.php (added)
-
tags/1.9.9.1/includes/class-bnfw-import.php (added)
-
tags/1.9.9.1/includes/engine (added)
-
tags/1.9.9.1/includes/engine/class-bnfw-engine.php (added)
-
tags/1.9.9.1/includes/helpers (added)
-
tags/1.9.9.1/includes/helpers/ajax-helpers.php (added)
-
tags/1.9.9.1/includes/helpers/class-bnfw-ajax.php (added)
-
tags/1.9.9.1/includes/helpers/helpers.php (added)
-
tags/1.9.9.1/includes/import.php (added)
-
tags/1.9.9.1/includes/libraries (added)
-
tags/1.9.9.1/includes/libraries/EDD_SL_Plugin_Updater.php (added)
-
tags/1.9.9.1/includes/libraries/class-edd-sl-plugin-updater.php (added)
-
tags/1.9.9.1/includes/license (added)
-
tags/1.9.9.1/includes/license/class-bnfw-license-setting.php (added)
-
tags/1.9.9.1/includes/license/class-bnfw-license.php (added)
-
tags/1.9.9.1/includes/notification (added)
-
tags/1.9.9.1/includes/notification/post-notification.php (added)
-
tags/1.9.9.1/includes/overrides.php (added)
-
tags/1.9.9.1/languages (added)
-
tags/1.9.9.1/languages/bnfw-de_DE.mo (added)
-
tags/1.9.9.1/languages/bnfw-de_DE.po (added)
-
tags/1.9.9.1/languages/bnfw-es_ES.mo (added)
-
tags/1.9.9.1/languages/bnfw-es_ES.po (added)
-
tags/1.9.9.1/languages/bnfw-fr_FR.mo (added)
-
tags/1.9.9.1/languages/bnfw-fr_FR.po (added)
-
tags/1.9.9.1/languages/bnfw-nl_NL.mo (added)
-
tags/1.9.9.1/languages/bnfw-nl_NL.po (added)
-
tags/1.9.9.1/languages/bnfw-pt_BR.mo (added)
-
tags/1.9.9.1/languages/bnfw-pt_BR.po (added)
-
tags/1.9.9.1/languages/bnfw.pot (added)
-
tags/1.9.9.1/vendor (added)
-
tags/1.9.9.1/vendor/persist-admin-notices-dismissal (added)
-
tags/1.9.9.1/vendor/persist-admin-notices-dismissal/CHANGES.md (added)
-
tags/1.9.9.1/vendor/persist-admin-notices-dismissal/README.md (added)
-
tags/1.9.9.1/vendor/persist-admin-notices-dismissal/composer.json (added)
-
tags/1.9.9.1/vendor/persist-admin-notices-dismissal/dismiss-notice.js (added)
-
tags/1.9.9.1/vendor/persist-admin-notices-dismissal/persist-admin-notices-dismissal.php (added)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/bnfw.php (modified) (2 diffs)
-
trunk/includes/engine/class-bnfw-engine.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bnfw/trunk/README.txt
r3350070 r3353293 6 6 Tested up to: 6.8 7 7 Requires PHP: 7.4 8 Stable tag: "1.9.9 "8 Stable tag: "1.9.9.1" 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 250 250 == Changelog == 251 251 252 = 1.9.9.1 - 31st August 2025 = 253 * Fixed: User shortcodes in the last update weren't using the correct data. 254 252 255 = 1.9.9 - 26th August 2025 = 253 256 * Fixed: The `[email_change_confirmation_link]` shortcode link now respects being overridden correctly. -
bnfw/trunk/bnfw.php
r3350070 r3353293 4 4 * Plugin URI: https://wordpress.org/plugins/bnfw/ 5 5 * Description: Supercharge your WordPress notifications using a WYSIWYG editor and shortcodes. Default and new notifications available. Add more power with Add-ons. 6 * Version: 1.9.9 6 * Version: 1.9.9.1 7 7 * Requires at least: 4.8 8 8 * Requires PHP: 7.4 … … 41 41 * @var string 42 42 */ 43 public $bnfw_version = '1.9.9 ';43 public $bnfw_version = '1.9.9.1'; 44 44 /** 45 45 * Class Constructor. -
bnfw/trunk/includes/engine/class-bnfw-engine.php
r3350070 r3353293 104 104 foreach ( $emails['to'] as $email ) { 105 105 106 $subject = wp_specialchars_decode( stripslashes( $this->handle_global_user_shortcodes( $subject, $email ) ) ); 107 $message = $this->handle_global_user_shortcodes( $message, $email ); 106 $prepare_subject = $subject; // Assign original content. 107 $prepare_message = $message; // Assign original content. 108 $prepare_subject = wp_specialchars_decode( stripslashes( $this->handle_global_user_shortcodes( $prepare_subject, $email ) ) ); 109 $prepare_message = $this->handle_global_user_shortcodes( $prepare_message, $email ); 108 110 109 111 /** … … 114 116 * @param string $email Email of user. 115 117 * @param array $setting Notification settings. 116 * @param string $ subject Notification subject.117 * @param string $ message Notification content.118 * @param string $prepare_subject Notification subject. 119 * @param string $prepare_message Notification content. 118 120 * @param string|string[] $headers Additional headers. 119 121 * 120 122 * @since 1.9.9 121 123 */ 122 if ( apply_filters( 'bnfw_can_send_user_locale_email', true, $id, $email, $setting, $ subject, $message, $headers ) ) {123 wp_mail( $email, $ subject, $message, $headers );124 if ( apply_filters( 'bnfw_can_send_user_locale_email', true, $id, $email, $setting, $prepare_subject, $prepare_message, $headers ) ) { 125 wp_mail( $email, $prepare_subject, $prepare_message, $headers ); 124 126 } 125 127 }
Note: See TracChangeset
for help on using the changeset viewer.