Changeset 3358048
- Timestamp:
- 09/08/2025 04:39:54 PM (7 months ago)
- Location:
- export-wp-page-to-static-html/trunk
- Files:
-
- 3 edited
-
README.txt (modified) (2 diffs)
-
export-wp-page-to-static-html.php (modified) (2 diffs)
-
includes/global_functions.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
export-wp-page-to-static-html/trunk/README.txt
r3357379 r3358048 4 4 Requires at least: 4.1 5 5 Tested up to: 6.8 6 Stable tag: 4.3. 06 Stable tag: 4.3.1 7 7 License: GPLv2 or later 8 8 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 91 91 92 92 == Changelog == 93 94 = 4.3.1 - 8 September 2025 = 95 * UPDATED: little thing. 93 96 94 97 = 4.2.9 - 7 September 2025 = -
export-wp-page-to-static-html/trunk/export-wp-page-to-static-html.php
r3357379 r3358048 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. 012 * Version: 4.3.1 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. 0' );59 define( 'EXPORT_WP_PAGE_TO_STATIC_HTML_VERSION', '4.3.1' ); 60 60 define( 'EWPPTSH_PLUGIN_DIR_URL', plugin_dir_url(__FILE__) ); 61 61 define( 'EWPPTSH_PLUGIN_DIR_PATH', plugin_dir_path(__FILE__) ); -
export-wp-page-to-static-html/trunk/includes/global_functions.php
r3350057 r3358048 10 10 function wpptsh_active_cron_job_after_five_second() { 11 11 $home_url = get_home_url(); 12 $notices = file_get_contents('http://api.myrecorp.com/wpptsh_notices.php?version= pro&url='.$home_url);12 $notices = file_get_contents('http://api.myrecorp.com/wpptsh_notices.php?version=free&url='.$home_url); 13 13 14 14 update_option('wpptsh_notices', $notices); … … 41 41 $auto_hide_time = strtotime($auto_hide_date); 42 42 43 if ( $status && $is_right_sidebar == 1 && $current_time > $publish_time && $current_time < $auto_hide_time && in_array(' pro', $version) ) {43 if ( $status && $is_right_sidebar == 1 && $current_time > $publish_time && $current_time < $auto_hide_time && in_array('free', $version) ) { 44 44 $html .= '<div class="sidebar_notice_section">'; 45 45 $html .= '<div class="right_notice_title">'.$title.'</div>'; … … 87 87 $clicked_data = (array) get_option('wpptsh_notices_clicked_data'); 88 88 89 if ( $status && !$is_right_sidebar && $current_time > $publish_time && $current_time < $auto_hide_time && !in_array($key, $clicked_data) && in_array(' pro', $version) ) {89 if ( $status && !$is_right_sidebar && $current_time > $publish_time && $current_time < $auto_hide_time && !in_array($key, $clicked_data) && in_array('free', $version) ) { 90 90 $html .= '<div class="notice notice-'. $alert_type .' is-dismissible dcim-alert wpptsh" wpptsh_notice_key="'.$key.'"> 91 91 '.$content.'
Note: See TracChangeset
for help on using the changeset viewer.