Changeset 3436728
- Timestamp:
- 01/10/2026 04:39:34 PM (3 months ago)
- Location:
- 365i-queue-optimizer
- Files:
-
- 6 edited
- 3 copied
-
tags/1.4.2 (copied) (copied from 365i-queue-optimizer/trunk)
-
tags/1.4.2/365i-queue-optimizer.php (copied) (copied from 365i-queue-optimizer/trunk/365i-queue-optimizer.php) (2 diffs)
-
tags/1.4.2/assets/css/admin.css (modified) (1 diff)
-
tags/1.4.2/assets/js/admin.js (modified) (2 diffs)
-
tags/1.4.2/readme.txt (copied) (copied from 365i-queue-optimizer/trunk/readme.txt) (3 diffs)
-
trunk/365i-queue-optimizer.php (modified) (2 diffs)
-
trunk/assets/css/admin.css (modified) (1 diff)
-
trunk/assets/js/admin.js (modified) (2 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
365i-queue-optimizer/tags/1.4.2/365i-queue-optimizer.php
r3436719 r3436728 4 4 * Plugin URI: https://www.365i.co.uk/blog/2025/04/20/fix-wordpress-6-8-slow-image-uploads-with-365i-queue-optimizer/ 5 5 * Description: A lightweight WordPress plugin to optimize ActionScheduler queue processing for faster image optimization and background tasks. 6 * Version: 1.4. 16 * Version: 1.4.2 7 7 * Author: 365i 8 8 * Author URI: https://www.mcneece.com/author/mark-mcneece/ … … 22 22 23 23 // Define plugin constants. 24 define( 'QUEUE_OPTIMIZER_VERSION', '1.4. 1' );24 define( 'QUEUE_OPTIMIZER_VERSION', '1.4.2' ); 25 25 define( 'QUEUE_OPTIMIZER_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); 26 26 define( 'QUEUE_OPTIMIZER_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); -
365i-queue-optimizer/tags/1.4.2/assets/css/admin.css
r3436597 r3436728 359 359 margin-right: 8px; 360 360 } 361 362 /* ========================================================================== 363 SAVE NOTIFICATION 364 ========================================================================== */ 365 366 .qo-save-notice { 367 position: fixed; 368 top: 50px; 369 right: 20px; 370 z-index: 99999; 371 background: #00a32a; 372 color: #fff; 373 padding: 12px 20px; 374 border-radius: 4px; 375 font-size: 14px; 376 font-weight: 500; 377 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); 378 opacity: 0; 379 transform: translateX(100px); 380 transition: all 0.3s ease; 381 } 382 383 .qo-save-notice.qo-notice-visible { 384 opacity: 1; 385 transform: translateX(0); 386 } 387 388 .qo-save-notice .dashicons { 389 font-size: 18px; 390 width: 18px; 391 height: 18px; 392 vertical-align: middle; 393 margin-right: 6px; 394 } -
365i-queue-optimizer/tags/1.4.2/assets/js/admin.js
r3436597 r3436728 17 17 initRunQueue(); 18 18 initHelpText(); 19 initSaveNotification(); 19 20 } 20 21 … … 159 160 } 160 161 162 /** 163 * Show save notification when settings are saved 164 */ 165 function initSaveNotification() { 166 // Check if settings were just saved 167 var urlParams = new URLSearchParams(window.location.search); 168 if (urlParams.get('settings-updated') === 'true') { 169 // Create and show the notification 170 var $notice = $('<div class="qo-save-notice">' + 171 '<span class="dashicons dashicons-yes-alt"></span> ' + 172 'Settings saved successfully!</div>'); 173 174 $('body').append($notice); 175 176 // Trigger animation 177 setTimeout(function() { 178 $notice.addClass('qo-notice-visible'); 179 }, 100); 180 181 // Auto-dismiss after 3 seconds 182 setTimeout(function() { 183 $notice.removeClass('qo-notice-visible'); 184 setTimeout(function() { 185 $notice.remove(); 186 }, 300); 187 }, 3000); 188 189 // Remove the query parameter from URL without reload 190 var newUrl = window.location.pathname + '?page=queue-optimizer'; 191 window.history.replaceState({}, '', newUrl); 192 } 193 } 194 161 195 // Initialize when document is ready 162 196 $(document).ready(function() { -
365i-queue-optimizer/tags/1.4.2/readme.txt
r3436719 r3436728 4 4 Requires at least: 5.8 5 5 Tested up to: 6.9 6 Stable tag: 1.4. 16 Stable tag: 1.4.2 7 7 Requires PHP: 8.0 8 8 License: GPLv2 or later … … 193 193 194 194 == Changelog == 195 196 = 1.4.2 - 2025-01-10 = 197 * Added save notification that appears when settings are saved and auto-dismisses after 3 seconds 195 198 196 199 = 1.4.1 - 2025-01-10 = … … 333 336 == Upgrade Notice == 334 337 338 = 1.4.2 = 339 UX improvement: Save notification now appears when settings are saved. 340 335 341 = 1.4.1 = 336 342 Added WordPress Playground Live Preview support. -
365i-queue-optimizer/trunk/365i-queue-optimizer.php
r3436719 r3436728 4 4 * Plugin URI: https://www.365i.co.uk/blog/2025/04/20/fix-wordpress-6-8-slow-image-uploads-with-365i-queue-optimizer/ 5 5 * Description: A lightweight WordPress plugin to optimize ActionScheduler queue processing for faster image optimization and background tasks. 6 * Version: 1.4. 16 * Version: 1.4.2 7 7 * Author: 365i 8 8 * Author URI: https://www.mcneece.com/author/mark-mcneece/ … … 22 22 23 23 // Define plugin constants. 24 define( 'QUEUE_OPTIMIZER_VERSION', '1.4. 1' );24 define( 'QUEUE_OPTIMIZER_VERSION', '1.4.2' ); 25 25 define( 'QUEUE_OPTIMIZER_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); 26 26 define( 'QUEUE_OPTIMIZER_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); -
365i-queue-optimizer/trunk/assets/css/admin.css
r3436597 r3436728 359 359 margin-right: 8px; 360 360 } 361 362 /* ========================================================================== 363 SAVE NOTIFICATION 364 ========================================================================== */ 365 366 .qo-save-notice { 367 position: fixed; 368 top: 50px; 369 right: 20px; 370 z-index: 99999; 371 background: #00a32a; 372 color: #fff; 373 padding: 12px 20px; 374 border-radius: 4px; 375 font-size: 14px; 376 font-weight: 500; 377 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); 378 opacity: 0; 379 transform: translateX(100px); 380 transition: all 0.3s ease; 381 } 382 383 .qo-save-notice.qo-notice-visible { 384 opacity: 1; 385 transform: translateX(0); 386 } 387 388 .qo-save-notice .dashicons { 389 font-size: 18px; 390 width: 18px; 391 height: 18px; 392 vertical-align: middle; 393 margin-right: 6px; 394 } -
365i-queue-optimizer/trunk/assets/js/admin.js
r3436597 r3436728 17 17 initRunQueue(); 18 18 initHelpText(); 19 initSaveNotification(); 19 20 } 20 21 … … 159 160 } 160 161 162 /** 163 * Show save notification when settings are saved 164 */ 165 function initSaveNotification() { 166 // Check if settings were just saved 167 var urlParams = new URLSearchParams(window.location.search); 168 if (urlParams.get('settings-updated') === 'true') { 169 // Create and show the notification 170 var $notice = $('<div class="qo-save-notice">' + 171 '<span class="dashicons dashicons-yes-alt"></span> ' + 172 'Settings saved successfully!</div>'); 173 174 $('body').append($notice); 175 176 // Trigger animation 177 setTimeout(function() { 178 $notice.addClass('qo-notice-visible'); 179 }, 100); 180 181 // Auto-dismiss after 3 seconds 182 setTimeout(function() { 183 $notice.removeClass('qo-notice-visible'); 184 setTimeout(function() { 185 $notice.remove(); 186 }, 300); 187 }, 3000); 188 189 // Remove the query parameter from URL without reload 190 var newUrl = window.location.pathname + '?page=queue-optimizer'; 191 window.history.replaceState({}, '', newUrl); 192 } 193 } 194 161 195 // Initialize when document is ready 162 196 $(document).ready(function() { -
365i-queue-optimizer/trunk/readme.txt
r3436719 r3436728 4 4 Requires at least: 5.8 5 5 Tested up to: 6.9 6 Stable tag: 1.4. 16 Stable tag: 1.4.2 7 7 Requires PHP: 8.0 8 8 License: GPLv2 or later … … 193 193 194 194 == Changelog == 195 196 = 1.4.2 - 2025-01-10 = 197 * Added save notification that appears when settings are saved and auto-dismisses after 3 seconds 195 198 196 199 = 1.4.1 - 2025-01-10 = … … 333 336 == Upgrade Notice == 334 337 338 = 1.4.2 = 339 UX improvement: Save notification now appears when settings are saved. 340 335 341 = 1.4.1 = 336 342 Added WordPress Playground Live Preview support.
Note: See TracChangeset
for help on using the changeset viewer.