Changeset 3770193
- Timestamp:
- 10/28/2026 08:24:58 AM (3 days ago)
- Location:
- yotuwp-easy-youtube-embed/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
yotuwp.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
yotuwp-easy-youtube-embed/trunk/readme.txt
r3743370 r3770193 4 4 Requires at least: 4.5 5 5 Tested up to: 7.1 6 Stable tag: 1.4. 26 Stable tag: 1.4.3 7 7 Donate link: https://www.paypal.me/tuongpg 8 8 License: GPLv2 or later … … 114 114 115 115 == Changelog == 116 = 1.4.3 - Oct 28th, 2026 = 117 * [Fix] "Translation loading for the yotuwp-easy-youtube-embed domain was triggered too early" notice (WordPress 6.7+): translation setup was running in the plugin constructor and on the `plugins_loaded` hook, both before WordPress is ready for it. Moved to the `init` hook, as WordPress now requires. 118 116 119 = 1.4.2 - Oct 13th, 2026 = 117 120 * [Fix] "Enable Tracking" now uses double opt-in — a confirmation email (sent via your own site's mail, never through our marketing system) must be clicked before this address is added to anything, from both the admin notice and the General Settings > API toggle (the toggle used to subscribe the address immediately on save, with no confirmation at all) -
yotuwp-easy-youtube-embed/trunk/yotuwp.php
r3743370 r3770193 4 4 * Plugin URI: https://www.yotuwp.com/ 5 5 * Description: Easy embed YouTube playlist, channel, videos and user videos to posts/pages/widgets 6 * Version: 1.4. 26 * Version: 1.4.3 7 7 * Text Domain: yotuwp-easy-youtube-embed 8 8 * Domain Path: /languages … … 18 18 19 19 if( !defined( 'YOTUWP_VERSION' ) ) 20 define( 'YOTUWP_VERSION', '1.4. 2' );20 define( 'YOTUWP_VERSION', '1.4.3' ); 21 21 22 22 global $yotuwp, $yotuwp_inline_script; … … 208 208 }, 10, 3); 209 209 210 add_action( 'plugins_loaded', array( $this, 'textdomain' ) ); 210 // WP 6.7+: translations must load on init or later. Priority 1/2 keeps 211 // these ahead of this constructor's other init-hooked methods (default 212 // priority 10) that rely on translations/$this->lang being ready. 213 add_action( 'init', array( $this, 'textdomain' ), 1 ); 214 add_action( 'init', array( $this, 'lang_cfg' ), 2 ); 211 215 add_action( 'yotuwp_cache_event', array( $this, 'clear_cache' ), 10); 212 216 213 217 register_activation_hook(__FILE__,array( $this, 'activation' ) ); 214 218 register_deactivation_hook(__FILE__, array( $this, 'deactivation' ) ); 215 216 $this->lang_cfg();217 219 218 220 do_action( 'yotu_init' );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)