Changeset 3450526
- Timestamp:
- 01/30/2026 02:04:05 PM (3 weeks ago)
- Location:
- blaminhor-essentials
- Files:
-
- 98 added
- 5 edited
-
tags/1.4.4 (added)
-
tags/1.4.4/assets (added)
-
tags/1.4.4/assets/css (added)
-
tags/1.4.4/assets/css/admin.css (added)
-
tags/1.4.4/assets/css/admin.min.css (added)
-
tags/1.4.4/assets/css/index.php (added)
-
tags/1.4.4/assets/css/modules.css (added)
-
tags/1.4.4/assets/images (added)
-
tags/1.4.4/assets/index.php (added)
-
tags/1.4.4/assets/js (added)
-
tags/1.4.4/assets/js/admin.js (added)
-
tags/1.4.4/assets/js/admin.min.js (added)
-
tags/1.4.4/assets/js/index.php (added)
-
tags/1.4.4/assets/js/modules.js (added)
-
tags/1.4.4/blaminhor-essentials.php (added)
-
tags/1.4.4/includes (added)
-
tags/1.4.4/includes/class-blaminhor-essentials-admin.php (added)
-
tags/1.4.4/includes/class-blaminhor-essentials-module.php (added)
-
tags/1.4.4/includes/functions.php (added)
-
tags/1.4.4/includes/index.php (added)
-
tags/1.4.4/index.php (added)
-
tags/1.4.4/languages (added)
-
tags/1.4.4/languages/blaminhor-essentials-de_DE.mo (added)
-
tags/1.4.4/languages/blaminhor-essentials-de_DE.po (added)
-
tags/1.4.4/languages/blaminhor-essentials-es_ES.mo (added)
-
tags/1.4.4/languages/blaminhor-essentials-es_ES.po (added)
-
tags/1.4.4/languages/blaminhor-essentials-fr_FR.mo (added)
-
tags/1.4.4/languages/blaminhor-essentials-fr_FR.po (added)
-
tags/1.4.4/languages/blaminhor-essentials-id_ID.mo (added)
-
tags/1.4.4/languages/blaminhor-essentials-id_ID.po (added)
-
tags/1.4.4/languages/blaminhor-essentials-it_IT.mo (added)
-
tags/1.4.4/languages/blaminhor-essentials-it_IT.po (added)
-
tags/1.4.4/languages/blaminhor-essentials-ja.mo (added)
-
tags/1.4.4/languages/blaminhor-essentials-ja.po (added)
-
tags/1.4.4/languages/blaminhor-essentials-nl_NL.mo (added)
-
tags/1.4.4/languages/blaminhor-essentials-nl_NL.po (added)
-
tags/1.4.4/languages/blaminhor-essentials-pt_BR.mo (added)
-
tags/1.4.4/languages/blaminhor-essentials-pt_BR.po (added)
-
tags/1.4.4/languages/blaminhor-essentials-pt_PT.mo (added)
-
tags/1.4.4/languages/blaminhor-essentials-pt_PT.po (added)
-
tags/1.4.4/languages/blaminhor-essentials-ru_RU.mo (added)
-
tags/1.4.4/languages/blaminhor-essentials-ru_RU.po (added)
-
tags/1.4.4/languages/blaminhor-essentials-tr_TR.mo (added)
-
tags/1.4.4/languages/blaminhor-essentials-tr_TR.po (added)
-
tags/1.4.4/languages/blaminhor-essentials.pot (added)
-
tags/1.4.4/languages/index.php (added)
-
tags/1.4.4/modules (added)
-
tags/1.4.4/modules/backup (added)
-
tags/1.4.4/modules/backup/class-module-backup.php (added)
-
tags/1.4.4/modules/backup/index.php (added)
-
tags/1.4.4/modules/broken-links (added)
-
tags/1.4.4/modules/broken-links/class-module-broken-links.php (added)
-
tags/1.4.4/modules/broken-links/index.php (added)
-
tags/1.4.4/modules/classic-editor (added)
-
tags/1.4.4/modules/classic-editor/class-module-classic-editor.php (added)
-
tags/1.4.4/modules/db-optimizer (added)
-
tags/1.4.4/modules/db-optimizer/class-module-db-optimizer.php (added)
-
tags/1.4.4/modules/db-optimizer/index.php (added)
-
tags/1.4.4/modules/domain-changer (added)
-
tags/1.4.4/modules/domain-changer/class-module-domain-changer.php (added)
-
tags/1.4.4/modules/domain-changer/index.php (added)
-
tags/1.4.4/modules/duplicator (added)
-
tags/1.4.4/modules/duplicator/class-module-duplicator.php (added)
-
tags/1.4.4/modules/duplicator/index.php (added)
-
tags/1.4.4/modules/duplicator/views (added)
-
tags/1.4.4/modules/fatal-error-recovery (added)
-
tags/1.4.4/modules/fatal-error-recovery/class-module-fatal-error-recovery.php (added)
-
tags/1.4.4/modules/favicon (added)
-
tags/1.4.4/modules/favicon/class-module-favicon.php (added)
-
tags/1.4.4/modules/favicon/index.php (added)
-
tags/1.4.4/modules/https-redirect (added)
-
tags/1.4.4/modules/https-redirect/class-module-https-redirect.php (added)
-
tags/1.4.4/modules/https-redirect/index.php (added)
-
tags/1.4.4/modules/image-sizes (added)
-
tags/1.4.4/modules/image-sizes/class-module-image-sizes.php (added)
-
tags/1.4.4/modules/image-sizes/index.php (added)
-
tags/1.4.4/modules/index.php (added)
-
tags/1.4.4/modules/maintenance (added)
-
tags/1.4.4/modules/maintenance/class-module-maintenance.php (added)
-
tags/1.4.4/modules/maintenance/index.php (added)
-
tags/1.4.4/modules/mute-core-emails (added)
-
tags/1.4.4/modules/mute-core-emails/class-module-mute-core-emails.php (added)
-
tags/1.4.4/modules/mute-core-emails/index.php (added)
-
tags/1.4.4/modules/post-types-order (added)
-
tags/1.4.4/modules/post-types-order/class-module-post-types-order.php (added)
-
tags/1.4.4/modules/post-types-order/index.php (added)
-
tags/1.4.4/modules/redirections (added)
-
tags/1.4.4/modules/redirections/class-module-redirections.php (added)
-
tags/1.4.4/modules/redirections/index.php (added)
-
tags/1.4.4/modules/seo-manager (added)
-
tags/1.4.4/modules/seo-manager/class-module-seo-manager.php (added)
-
tags/1.4.4/modules/seo-manager/index.php (added)
-
tags/1.4.4/modules/smtp (added)
-
tags/1.4.4/modules/smtp/class-module-smtp.php (added)
-
tags/1.4.4/modules/smtp/index.php (added)
-
tags/1.4.4/modules/smtp/views (added)
-
tags/1.4.4/readme.txt (added)
-
tags/1.4.4/uninstall.php (added)
-
trunk/assets/js/modules.js (modified) (2 diffs)
-
trunk/blaminhor-essentials.php (modified) (2 diffs)
-
trunk/modules/backup/class-module-backup.php (modified) (4 diffs)
-
trunk/modules/post-types-order/class-module-post-types-order.php (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
blaminhor-essentials/trunk/assets/js/modules.js
r3450242 r3450526 890 890 891 891 $(document).off('click' + ns, '.ap-backup-download').on('click' + ns, '.ap-backup-download', function() { 892 self.downloadBackup($(this).data('filename')); 892 var $row = $(this).closest('tr'); 893 var archives = $row.data('archives'); 894 if (archives && archives.length) { 895 self.downloadBackupArchives(archives); 896 } 893 897 }); 894 898 … … 1457 1461 }, 1458 1462 1463 downloadBackupArchives: function(archives) { 1464 var self = this; 1465 var index = 0; 1466 1467 function downloadNext() { 1468 if (index >= archives.length) { 1469 return; 1470 } 1471 var filename = archives[index]; 1472 index++; 1473 $.post(self.ajaxurl, { 1474 action: 'ap_backup_download', 1475 nonce: self.nonce, 1476 filename: filename 1477 }, function(response) { 1478 if (response.success) { 1479 var $iframe = $('<iframe>', { src: response.data.url }).hide().appendTo('body'); 1480 setTimeout(function() { 1481 $iframe.remove(); 1482 downloadNext(); 1483 }, 300); 1484 } else { 1485 alert(response.data); 1486 } 1487 }); 1488 } 1489 1490 downloadNext(); 1491 }, 1492 1459 1493 deleteBackup: function($btn) { 1460 1494 var self = this; -
blaminhor-essentials/trunk/blaminhor-essentials.php
r3450476 r3450526 4 4 * Plugin URI: https://wp.blaminhor.com/ 5 5 * Description: A modular toolkit for WordPress with activatable features. Lightweight, secure, and reliable. 6 * Version: 1.4. 36 * Version: 1.4.4 7 7 * Requires at least: 6.2 8 8 * Requires PHP: 7.4 … … 23 23 24 24 // Plugin constants 25 define('BLAMINHOR_ESSENTIALS_VERSION', '1.4. 3');25 define('BLAMINHOR_ESSENTIALS_VERSION', '1.4.4'); 26 26 define('BLAMINHOR_ESSENTIALS_PLUGIN_FILE', __FILE__); 27 27 define('BLAMINHOR_ESSENTIALS_PLUGIN_DIR', plugin_dir_path(__FILE__)); -
blaminhor-essentials/trunk/modules/backup/class-module-backup.php
r3450351 r3450526 1963 1963 <th class="ap-sortable" data-sort="number" style="width: 100px;"><?php esc_html_e( 'Size', 'blaminhor-essentials' ); ?> <span class="ap-sort-icon"></span></th> 1964 1964 <th class="ap-sortable desc" data-sort="number" style="width: 160px;"><?php esc_html_e( 'Date', 'blaminhor-essentials' ); ?> <span class="ap-sort-icon"></span></th> 1965 <th style="width: 180px;"><?php esc_html_e( 'Actions', 'blaminhor-essentials' ); ?></th>1965 <th style="width: 260px;"><?php esc_html_e( 'Actions', 'blaminhor-essentials' ); ?></th> 1966 1966 </tr> 1967 1967 </thead> 1968 1968 <tbody> 1969 1969 <?php foreach ( $backups as $backup ) : ?> 1970 <tr data-prefix="<?php echo esc_attr( $backup['prefix'] ); ?>" data-type="<?php echo esc_attr( $backup['type'] ); ?>" data-size="<?php echo esc_attr( $backup['total_size'] ); ?>" data-date="<?php echo esc_attr( $backup['date'] ); ?>" >1970 <tr data-prefix="<?php echo esc_attr( $backup['prefix'] ); ?>" data-type="<?php echo esc_attr( $backup['type'] ); ?>" data-size="<?php echo esc_attr( $backup['total_size'] ); ?>" data-date="<?php echo esc_attr( $backup['date'] ); ?>" data-archives="<?php echo esc_attr( wp_json_encode( array_map( 'basename', $backup['archives'] ) ) ); ?>"> 1971 1971 <td> 1972 1972 <code style="font-size: 12px;"><?php echo esc_html( $backup['prefix'] ); ?></code> … … 1998 1998 <button type="button" class="button button-small ap-backup-restore" data-prefix="<?php echo esc_attr( $backup['prefix'] ); ?>" data-type="<?php echo esc_attr( $backup['type'] ); ?>" data-components="<?php echo esc_attr( wp_json_encode( $backup['components'] ) ); ?>"> 1999 1999 <?php esc_html_e( 'Restore', 'blaminhor-essentials' ); ?> 2000 </button> 2001 <button type="button" class="button button-small ap-backup-download" data-prefix="<?php echo esc_attr( $backup['prefix'] ); ?>"> 2002 <?php esc_html_e( 'Download', 'blaminhor-essentials' ); ?> 2000 2003 </button> 2001 2004 <button type="button" class="button button-small ap-backup-delete" data-prefix="<?php echo esc_attr( $backup['prefix'] ); ?>" style="color: #d63638;"> … … 2507 2510 <th class="ap-sortable" data-sort="number" style="width: 100px;"><?php esc_html_e( 'Size', 'blaminhor-essentials' ); ?> <span class="ap-sort-icon"></span></th> 2508 2511 <th class="ap-sortable desc" data-sort="number" style="width: 160px;"><?php esc_html_e( 'Date', 'blaminhor-essentials' ); ?> <span class="ap-sort-icon"></span></th> 2509 <th style="width: 180px;"><?php esc_html_e( 'Actions', 'blaminhor-essentials' ); ?></th>2512 <th style="width: 260px;"><?php esc_html_e( 'Actions', 'blaminhor-essentials' ); ?></th> 2510 2513 </tr> 2511 2514 </thead> 2512 2515 <tbody> 2513 2516 <?php foreach ( $backups as $backup ) : ?> 2514 <tr data-prefix="<?php echo esc_attr( $backup['prefix'] ); ?>" data-type="<?php echo esc_attr( $backup['type'] ); ?>" data-size="<?php echo esc_attr( $backup['total_size'] ); ?>" data-date="<?php echo esc_attr( $backup['date'] ); ?>" >2517 <tr data-prefix="<?php echo esc_attr( $backup['prefix'] ); ?>" data-type="<?php echo esc_attr( $backup['type'] ); ?>" data-size="<?php echo esc_attr( $backup['total_size'] ); ?>" data-date="<?php echo esc_attr( $backup['date'] ); ?>" data-archives="<?php echo esc_attr( wp_json_encode( array_map( 'basename', $backup['archives'] ) ) ); ?>"> 2515 2518 <td style="text-align: center;"><input type="checkbox" class="ap-backup-checkbox" value="<?php echo esc_attr( $backup['prefix'] ); ?>"></td> 2516 2519 <td> … … 2545 2548 <button type="button" class="button button-small ap-backup-restore" data-prefix="<?php echo esc_attr( $backup['prefix'] ); ?>" data-type="<?php echo esc_attr( $backup['type'] ); ?>" data-components="<?php echo esc_attr( wp_json_encode( $backup['components'] ) ); ?>"> 2546 2549 <?php esc_html_e( 'Restore', 'blaminhor-essentials' ); ?> 2550 </button> 2551 <button type="button" class="button button-small ap-backup-download" data-prefix="<?php echo esc_attr( $backup['prefix'] ); ?>"> 2552 <?php esc_html_e( 'Download', 'blaminhor-essentials' ); ?> 2547 2553 </button> 2548 2554 <button type="button" class="button button-small ap-backup-delete" data-prefix="<?php echo esc_attr( $backup['prefix'] ); ?>" style="color: #d63638;"> -
blaminhor-essentials/trunk/modules/post-types-order/class-module-post-types-order.php
r3450476 r3450526 220 220 } 221 221 222 // Only override if no explicit orderby was set. 223 if ( '' === $query->get( 'orderby' ) ) { 222 // On frontend: always apply custom order for enabled post types. 223 // On admin: only override if no explicit orderby was set (column click). 224 if ( ! is_admin() || '' === $query->get( 'orderby' ) ) { 224 225 $query->set( 'orderby', 'menu_order date' ); 225 226 $query->set( 'order', 'ASC' ); -
blaminhor-essentials/trunk/readme.txt
r3450476 r3450526 5 5 Tested up to: 6.9 6 6 Requires PHP: 7.4 7 Stable tag: 1.4. 37 Stable tag: 1.4.4 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 203 203 204 204 == Changelog == 205 206 = 1.4.4 = 207 * Added: Backup module - Download button to save backup archives to your computer. 205 208 206 209 = 1.4.3 = … … 319 322 == Upgrade Notice == 320 323 324 = 1.4.4 = 325 Backup module now includes a Download button to save backup archives directly to your computer. 326 321 327 = 1.4.3 = 322 328 Custom post type order now applies to page builder queries (Elementor, etc.).
Note: See TracChangeset
for help on using the changeset viewer.