Changeset 3380690
- Timestamp:
- 10/19/2025 06:31:58 AM (5 months ago)
- Location:
- export-wp-page-to-static-html/tags/4.3.4
- Files:
-
- 2 edited
- 8 copied
-
. (copied) (copied from export-wp-page-to-static-html/trunk)
-
README.txt (copied) (copied from export-wp-page-to-static-html/trunk/README.txt) (1 diff)
-
admin/includes/AjaxRequests/assetsExporter.php (copied) (copied from export-wp-page-to-static-html/trunk/admin/includes/AjaxRequests/assetsExporter.php)
-
admin/includes/AjaxRequests/exportLogPercentage.php (copied) (copied from export-wp-page-to-static-html/trunk/admin/includes/AjaxRequests/exportLogPercentage.php)
-
admin/includes/data/data.php (copied) (copied from export-wp-page-to-static-html/trunk/admin/includes/data/data.php)
-
admin/js/export-logs.js (modified) (1 diff)
-
admin/partials/Tabs/wp-pages.php (modified) (1 diff)
-
admin/partials/sections/hidden-fields-and-js.php (copied) (copied from export-wp-page-to-static-html/trunk/admin/partials/sections/hidden-fields-and-js.php)
-
export-wp-page-to-static-html.php (copied) (copied from export-wp-page-to-static-html/trunk/export-wp-page-to-static-html.php) (3 diffs)
-
includes/class-export-wp-page-to-static-html-activator.php (copied) (copied from export-wp-page-to-static-html/trunk/includes/class-export-wp-page-to-static-html-activator.php)
Legend:
- Unmodified
- Added
- Removed
-
export-wp-page-to-static-html/tags/4.3.4/README.txt
r3379262 r3380690 91 91 92 92 == Changelog == 93 94 = 4.3.4 - 20 October 2025 = 95 * ADDED: Email notification system when export completed. 96 97 = 4.3.3 - 8 September 2025 = 98 * FIXED: Skip assets not working issue. 99 * FIXED: Some other issues. 100 * ADDED: Increase 3 pages limitation to 6 pages. 101 102 = 4.3.2 - 8 September 2025 = 103 * UPDATED: little thing. 93 104 94 105 = 4.3.1 - 8 September 2025 = -
export-wp-page-to-static-html/tags/4.3.4/admin/js/export-logs.js
r3350057 r3380690 280 280 281 281 else if (r.creating_html_process === 'completed' && r.are_all_assets_exported && r.creating_zip_status !== 'completed') { 282 toggleComplete('html', true); 282 283 exporting_assets_completed(r); 283 284 const frac = (r.total_pushed_file_to_zip || 0) / Math.max(1, r.total_zip_files || 1); -
export-wp-page-to-static-html/tags/4.3.4/admin/partials/Tabs/wp-pages.php
r3357356 r3380690 342 342 </div> 343 343 344 <div class="p-t-10"> 345 <div class="email_settings_section"> 346 <div class="email_settings_item"> 347 <label class="checkbox-container m-r-45"><?php _e('Receive notification when complete', 'export-wp-page-to-static-html'); ?> 348 <input type="checkbox" id="email_notification" name="email_notification"> 349 <span class="checkmark"></span> 350 </label> 351 352 <div class="email_settings_item export_html_sub_settings"> 353 <input type="text" id="receive_notification_email" name="notification_email" placeholder="Enter emails (optional)"> 354 <span><?php _e('Enter emails seperated by comma (,) (optional)', 'export-wp-page-to-static-html'); ?></span> 355 </div> 356 </div> 357 </div> 358 </div> 359 344 360 </div> 345 361 </div> -
export-wp-page-to-static-html/tags/4.3.4/export-wp-page-to-static-html.php
r3379262 r3380690 10 10 * Plugin URI: https://myrecorp.com 11 11 * Description: Seamlessly export any WordPress page or post into lightweight, fully responsive static HTML/CSS and print-ready PDF with a single click. Boost your site’s performance and security by serving pre-rendered pages, create offline-friendly backups. Perfect for developers, content creators, and businesses needing fast, reliable exports of WordPress content. 12 * Version: 4.3. 312 * Version: 4.3.4 13 13 * Author: ReCorp 14 14 * Author URI: https://www.upwork.com/fl/rayhan1 … … 57 57 * Rename this for your plugin and update it as you release new versions. 58 58 */ 59 define( 'EXPORT_WP_PAGE_TO_STATIC_HTML_VERSION', '4.3. 3' );59 define( 'EXPORT_WP_PAGE_TO_STATIC_HTML_VERSION', '4.3.4' ); 60 60 define( 'EWPPTSH_PLUGIN_DIR_URL', plugin_dir_url(__FILE__) ); 61 61 define( 'EWPPTSH_PLUGIN_DIR_PATH', plugin_dir_path(__FILE__) ); 62 62 define( 'EWPPTSH_DEVELOPER_MODE', false ); 63 define( 'WPPTSH_DB_VERSION', '1. 1');63 define( 'WPPTSH_DB_VERSION', '1.2'); 64 64 65 65 /** … … 134 134 // Runs on every load, no __FILE__ here 135 135 function wpptsh_update_db_check() { 136 global $wpdb; 137 136 138 $installed_ver = get_option('wpptsh_db_version'); 139 $table_name = $wpdb->prefix . 'export_urls_logs'; 140 $column_name = 'type'; 137 141 138 if ($installed_ver !=WPPTSH_DB_VERSION) { 139 global $wpdb; 140 $table_name = $wpdb->prefix . 'export_urls_logs'; 142 if ($installed_ver != WPPTSH_DB_VERSION) { 143 // Check if the column already exists 144 $column_exists = $wpdb->get_results( 145 $wpdb->prepare( 146 "SHOW COLUMNS FROM `$table_name` LIKE %s", 147 $column_name 148 ) 149 ); 141 150 142 // Add only missing column(s) 143 $wpdb->query("ALTER TABLE $table_name ADD COLUMN type TINYTEXT NOT NULL"); 151 // Add column only if it does not exist 152 if (empty($column_exists)) { 153 $wpdb->query("ALTER TABLE `$table_name` ADD COLUMN `$column_name` TINYTEXT NOT NULL"); 154 } 144 155 156 // Update DB version 157 update_option('wpptsh_db_version', WPPTSH_DB_VERSION); 145 158 146 update_option('wpptsh_db_version', WPPTSH_DB_VERSION); 159 // Add worker token if not already set 160 if (!get_option('ewptshp_worker_token')) { 161 add_option('ewptshp_worker_token', wp_generate_password(32, false, false)); 162 } 147 163 } 148 149 164 } 165 150 166 add_action('plugins_loaded', 'wpptsh_update_db_check'); 151 167 }
Note: See TracChangeset
for help on using the changeset viewer.