Changeset 3166142
- Timestamp:
- 10/09/2024 10:14:10 PM (18 months ago)
- Location:
- ebook-store-affiliate
- Files:
-
- 164 added
- 4 edited
-
tags/1.2.6 (added)
-
tags/1.2.6/GPL.txt (added)
-
tags/1.2.6/assets (added)
-
tags/1.2.6/assets/banner-1544x500.jpg (added)
-
tags/1.2.6/assets/banner-772x250.jpg (added)
-
tags/1.2.6/assets/icon-128x128.png (added)
-
tags/1.2.6/assets/icon-256x256.png (added)
-
tags/1.2.6/assets/screenshot-1.png (added)
-
tags/1.2.6/assets/screenshot-2.png (added)
-
tags/1.2.6/assets/screenshot-3.png (added)
-
tags/1.2.6/assets/screenshot-4.png (added)
-
tags/1.2.6/assets/screenshot-5.png (added)
-
tags/1.2.6/backend (added)
-
tags/1.2.6/backend/assets (added)
-
tags/1.2.6/backend/assets/ajax (added)
-
tags/1.2.6/backend/assets/ajax/estaff-account-ajax.php (added)
-
tags/1.2.6/backend/assets/ajax/estaff-cockpit-ajax.php (added)
-
tags/1.2.6/backend/assets/ajax/estaff-metabox-ajax.php (added)
-
tags/1.2.6/backend/assets/ajax/estaff-products-ajax.php (added)
-
tags/1.2.6/backend/assets/ajax/estaff-settings-ajax.php (added)
-
tags/1.2.6/backend/assets/css (added)
-
tags/1.2.6/backend/assets/css/estaff-admin-metabox.css (added)
-
tags/1.2.6/backend/assets/css/estaff.css (added)
-
tags/1.2.6/backend/assets/img (added)
-
tags/1.2.6/backend/assets/img/h1-icon.png (added)
-
tags/1.2.6/backend/assets/img/loading.gif (added)
-
tags/1.2.6/backend/assets/img/worldofdigitals-logo-opacity.png (added)
-
tags/1.2.6/backend/assets/img/worldofdigitals-logo.png (added)
-
tags/1.2.6/backend/assets/img/wp-icon.png (added)
-
tags/1.2.6/backend/assets/includes (added)
-
tags/1.2.6/backend/assets/includes/estaff-backend-functions.php (added)
-
tags/1.2.6/backend/assets/includes/estaff-general-modal.php (added)
-
tags/1.2.6/backend/assets/includes/estaff-load-scripts.php (added)
-
tags/1.2.6/backend/assets/includes/estaff-meta-boxes.php (added)
-
tags/1.2.6/backend/assets/includes/estaff-meta-template.php (added)
-
tags/1.2.6/backend/assets/includes/estaff-recommendation.php (added)
-
tags/1.2.6/backend/assets/js (added)
-
tags/1.2.6/backend/assets/js/estaff-account.js (added)
-
tags/1.2.6/backend/assets/js/estaff-cockpit.js (added)
-
tags/1.2.6/backend/assets/js/estaff-metabox.js (added)
-
tags/1.2.6/backend/assets/js/estaff-products.js (added)
-
tags/1.2.6/backend/assets/js/estaff-settings.js (added)
-
tags/1.2.6/backend/assets/js/estaff-welcome.js (added)
-
tags/1.2.6/backend/estaff-account.php (added)
-
tags/1.2.6/backend/estaff-cockpit.php (added)
-
tags/1.2.6/backend/estaff-index.php (added)
-
tags/1.2.6/backend/estaff-instructions.php (added)
-
tags/1.2.6/backend/estaff-products.php (added)
-
tags/1.2.6/backend/estaff-settings.php (added)
-
tags/1.2.6/cron (added)
-
tags/1.2.6/cron/estaff-cron.php (added)
-
tags/1.2.6/ebook-store-affiliate.php (added)
-
tags/1.2.6/frontend (added)
-
tags/1.2.6/frontend/ajax (added)
-
tags/1.2.6/frontend/ajax/estaff-shop-ajax.php (added)
-
tags/1.2.6/frontend/ajax/estaff-shortcode-ajax.php (added)
-
tags/1.2.6/frontend/ajax/estaff-widget-ajax.php (added)
-
tags/1.2.6/frontend/css (added)
-
tags/1.2.6/frontend/css/estaff-widget.css (added)
-
tags/1.2.6/frontend/img (added)
-
tags/1.2.6/frontend/img/noimage.png (added)
-
tags/1.2.6/frontend/img/noimage.webp (added)
-
tags/1.2.6/frontend/img/worldofdigitals-logo.png (added)
-
tags/1.2.6/frontend/includes (added)
-
tags/1.2.6/frontend/includes/estaff-catch-sale.php (added)
-
tags/1.2.6/frontend/includes/estaff-load-scripts.php (added)
-
tags/1.2.6/frontend/includes/estaff-shortcode.php (added)
-
tags/1.2.6/frontend/includes/estaff-widget.php (added)
-
tags/1.2.6/frontend/js (added)
-
tags/1.2.6/frontend/js/estaff-shop.js (added)
-
tags/1.2.6/frontend/js/estaff-shortcode.js (added)
-
tags/1.2.6/frontend/js/estaff-widget.js (added)
-
tags/1.2.6/hooks-filters-and-functions.txt (added)
-
tags/1.2.6/includes (added)
-
tags/1.2.6/includes/estaff-database.php (added)
-
tags/1.2.6/includes/estaff-functions.php (added)
-
tags/1.2.6/includes/estaff-kses-functions.php (added)
-
tags/1.2.6/includes/estaff-woocommerce.php (added)
-
tags/1.2.6/languages (added)
-
tags/1.2.6/readme.txt (added)
-
tags/1.2.6/thirdparty (added)
-
tags/1.2.6/thirdparty/bootstrap5 (added)
-
tags/1.2.6/thirdparty/bootstrap5/css (added)
-
tags/1.2.6/thirdparty/bootstrap5/css/bootstrap.min.css (added)
-
tags/1.2.6/thirdparty/bootstrap5/css/bootstrap.min.css.map (added)
-
tags/1.2.6/thirdparty/bootstrap5/js (added)
-
tags/1.2.6/thirdparty/bootstrap5/js/bootstrap.bundle.min.js (added)
-
tags/1.2.6/thirdparty/bootstrap5/js/bootstrap.bundle.min.js.map (added)
-
tags/1.2.6/thirdparty/chart.js (added)
-
tags/1.2.6/thirdparty/chart.js/chart.min.js (added)
-
tags/1.2.6/thirdparty/chart.js/chart.umd.min.js (added)
-
tags/1.2.6/thirdparty/font-awesome (added)
-
tags/1.2.6/thirdparty/font-awesome/all.min.css (added)
-
tags/1.2.6/thirdparty/jquery-confirm-v3.3.4 (added)
-
tags/1.2.6/thirdparty/jquery-confirm-v3.3.4/LICENSE (added)
-
tags/1.2.6/thirdparty/jquery-confirm-v3.3.4/dist (added)
-
tags/1.2.6/thirdparty/jquery-confirm-v3.3.4/dist/jquery-confirm.min.css (added)
-
tags/1.2.6/thirdparty/jquery-confirm-v3.3.4/dist/jquery-confirm.min.js (added)
-
tags/1.2.6/thirdparty/jquery-lazy (added)
-
tags/1.2.6/thirdparty/jquery-lazy/LICENSE (added)
-
tags/1.2.6/thirdparty/jquery-lazy/README.md (added)
-
tags/1.2.6/thirdparty/jquery-lazy/bower.json (added)
-
tags/1.2.6/thirdparty/jquery-lazy/gulpfile.js (added)
-
tags/1.2.6/thirdparty/jquery-lazy/jquery.lazy.js (added)
-
tags/1.2.6/thirdparty/jquery-lazy/jquery.lazy.min.js (added)
-
tags/1.2.6/thirdparty/jquery-lazy/jquery.lazy.plugins.js (added)
-
tags/1.2.6/thirdparty/jquery-lazy/jquery.lazy.plugins.min.js (added)
-
tags/1.2.6/thirdparty/jquery-lazy/package-lock.json (added)
-
tags/1.2.6/thirdparty/jquery-lazy/package.json (added)
-
tags/1.2.6/thirdparty/jquery-lazy/plugins (added)
-
tags/1.2.6/thirdparty/jquery-lazy/plugins/README.md (added)
-
tags/1.2.6/thirdparty/jquery-lazy/plugins/jquery.lazy.ajax.js (added)
-
tags/1.2.6/thirdparty/jquery-lazy/plugins/jquery.lazy.ajax.min.js (added)
-
tags/1.2.6/thirdparty/jquery-lazy/plugins/jquery.lazy.av.js (added)
-
tags/1.2.6/thirdparty/jquery-lazy/plugins/jquery.lazy.av.min.js (added)
-
tags/1.2.6/thirdparty/jquery-lazy/plugins/jquery.lazy.iframe.js (added)
-
tags/1.2.6/thirdparty/jquery-lazy/plugins/jquery.lazy.iframe.min.js (added)
-
tags/1.2.6/thirdparty/jquery-lazy/plugins/jquery.lazy.noop.js (added)
-
tags/1.2.6/thirdparty/jquery-lazy/plugins/jquery.lazy.noop.min.js (added)
-
tags/1.2.6/thirdparty/jquery-lazy/plugins/jquery.lazy.picture.js (added)
-
tags/1.2.6/thirdparty/jquery-lazy/plugins/jquery.lazy.picture.min.js (added)
-
tags/1.2.6/thirdparty/jquery-lazy/plugins/jquery.lazy.script.js (added)
-
tags/1.2.6/thirdparty/jquery-lazy/plugins/jquery.lazy.script.min.js (added)
-
tags/1.2.6/thirdparty/jquery-lazy/plugins/jquery.lazy.vimeo.js (added)
-
tags/1.2.6/thirdparty/jquery-lazy/plugins/jquery.lazy.vimeo.min.js (added)
-
tags/1.2.6/thirdparty/jquery-lazy/plugins/jquery.lazy.youtube.js (added)
-
tags/1.2.6/thirdparty/jquery-lazy/plugins/jquery.lazy.youtube.min.js (added)
-
tags/1.2.6/thirdparty/jquery-ui (added)
-
tags/1.2.6/thirdparty/jquery-ui/AUTHORS.txt (added)
-
tags/1.2.6/thirdparty/jquery-ui/LICENSE.txt (added)
-
tags/1.2.6/thirdparty/jquery-ui/images (added)
-
tags/1.2.6/thirdparty/jquery-ui/images/ui-bg_highlight-soft_100_eeeeee_1x100.png (added)
-
tags/1.2.6/thirdparty/jquery-ui/images/ui-icons_444444_256x240.png (added)
-
tags/1.2.6/thirdparty/jquery-ui/images/ui-icons_555555_256x240.png (added)
-
tags/1.2.6/thirdparty/jquery-ui/images/ui-icons_777620_256x240.png (added)
-
tags/1.2.6/thirdparty/jquery-ui/images/ui-icons_777777_256x240.png (added)
-
tags/1.2.6/thirdparty/jquery-ui/images/ui-icons_cc0000_256x240.png (added)
-
tags/1.2.6/thirdparty/jquery-ui/images/ui-icons_ffffff_256x240.png (added)
-
tags/1.2.6/thirdparty/jquery-ui/jquery-ui.css (added)
-
tags/1.2.6/thirdparty/jquery-ui/jquery-ui.min.css (added)
-
tags/1.2.6/thirdparty/jquery-ui/jquery-ui.structure.css (added)
-
tags/1.2.6/thirdparty/jquery-ui/jquery-ui.structure.min.css (added)
-
tags/1.2.6/thirdparty/jquery-ui/jquery-ui.theme.css (added)
-
tags/1.2.6/thirdparty/jquery-ui/jquery-ui.theme.min.css (added)
-
tags/1.2.6/thirdparty/jquery-ui/package.json (added)
-
tags/1.2.6/thirdparty/slick (added)
-
tags/1.2.6/thirdparty/slick/LICENSE (added)
-
tags/1.2.6/thirdparty/slick/slick (added)
-
tags/1.2.6/thirdparty/slick/slick/ajax-loader.gif (added)
-
tags/1.2.6/thirdparty/slick/slick/config.rb (added)
-
tags/1.2.6/thirdparty/slick/slick/fonts (added)
-
tags/1.2.6/thirdparty/slick/slick/fonts/slick.eot (added)
-
tags/1.2.6/thirdparty/slick/slick/fonts/slick.svg (added)
-
tags/1.2.6/thirdparty/slick/slick/fonts/slick.ttf (added)
-
tags/1.2.6/thirdparty/slick/slick/fonts/slick.woff (added)
-
tags/1.2.6/thirdparty/slick/slick/slick-theme.css (added)
-
tags/1.2.6/thirdparty/slick/slick/slick-theme.less (added)
-
tags/1.2.6/thirdparty/slick/slick/slick-theme.scss (added)
-
tags/1.2.6/thirdparty/slick/slick/slick.css (added)
-
tags/1.2.6/thirdparty/slick/slick/slick.js (added)
-
tags/1.2.6/thirdparty/slick/slick/slick.less (added)
-
tags/1.2.6/thirdparty/slick/slick/slick.min.js (added)
-
tags/1.2.6/thirdparty/slick/slick/slick.scss (added)
-
tags/1.2.6/uninstall.php (added)
-
trunk/cron/estaff-cron.php (modified) (1 diff)
-
trunk/ebook-store-affiliate.php (modified) (6 diffs)
-
trunk/includes/estaff-functions.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ebook-store-affiliate/trunk/cron/estaff-cron.php
r3161770 r3166142 5 5 add_filter( 'cron_schedules', 'estaff_custom_cron_intervals'); 6 6 function estaff_custom_cron_intervals( $schedules ) { 7 if(!isset($schedules['hourly'])) 7 8 if(!isset($schedules['every-1-minutes'])) $schedules['every-1-minutes'] = array('interval' => 60, 'display' => htmlspecialchars_decode(esc_html__('Once every minute',"campation-postoffice"))); 9 if(!isset($schedules['daily'])) 8 10 $schedules['daily'] = array('interval' => 60*60*24, 'display' => esc_html__('Once every day',"ebook-store-affiliate")); 9 11 return $schedules; -
ebook-store-affiliate/trunk/ebook-store-affiliate.php
r3163728 r3166142 12 12 * Plugin URI: https://campation.com/ebook-store-affiliate/ 13 13 * Description: Connect to the giant ebook store of World of Digitals, enhance your content, earn affiliate commissions with 4+ mio ebooks and create backlinks for SEO 14 * Version: 1.2. 514 * Version: 1.2.6 15 15 * Author: Campation LLC 16 16 * Author URI: https://campation.com/ … … 49 49 50 50 // constants 51 define("ESTAFFVERSION","1.2. 5"); // change also in readme.txt51 define("ESTAFFVERSION","1.2.6"); // change also in readme.txt 52 52 define("ESTAFFVERSIONPHP","7.4"); 53 53 define("ESTAFFPLUGINSLUG","ebook-store-affiliate/ebook-store-affiliate.php"); … … 65 65 66 66 67 // activation / deactivation of plugin67 // activation / deactivation of plugin 68 68 include_once ABSPATH.'wp-admin/includes/plugin.php'; 69 include_once("includes/estaff-functions.php"); 69 70 if(!is_plugin_active('ebook-store-affiliate/ebook-store-affiliate.php' ) ) 70 71 { … … 78 79 estaff_cron_activate(); 79 80 flush_rewrite_rules(); 81 estaff_api_register("activate"); 80 82 } 81 83 } 82 84 else 83 register_deactivation_hook( __FILE__, 'estaff_cron_deactivate'); 85 { 86 register_deactivation_hook( __FILE__, 'estaff_deactivation'); 87 function estaff_deactivation () 88 { 89 estaff_cron_deactivate(); 90 flush_rewrite_rules(); 91 estaff_api_register("deactivate"); 92 } 93 } 84 94 85 95 … … 93 103 { 94 104 if ($each_plugin==$current_plugin_path_name) 105 { 95 106 estaff_db_install(); 107 estaff_api_register("update"); 108 } 96 109 } 97 110 } … … 134 147 include_once("frontend/includes/estaff-shortcode.php"); 135 148 include_once("cron/estaff-cron.php"); 136 include_once("includes/estaff-functions.php");137 149 include_once("includes/estaff-kses-functions.php"); 138 150 include_once("includes/estaff-woocommerce.php"); -
ebook-store-affiliate/trunk/includes/estaff-functions.php
r3161770 r3166142 89 89 return(array(9999999999)); 90 90 } 91 92 93 function estaff_api_register($action) 94 { 95 $url = 'https://worldofdigitals.com/wp-content/plugins/WoE/api/affiliate-api-register.php'; 96 $response = wp_remote_post( $url, array( 97 'method' => 'POST', 98 'timeout' => 45, 99 'redirection' => 5, 100 'httpversion' => '1.0', 101 'blocking' => true, 102 'headers' => array(), 103 'body' => array( 104 'domain' => wp_parse_url(home_url())['host'], 105 'action' => $action, 106 'secret' => ESTAFFSECRETKEY 107 ), 108 'cookies' => array() 109 ) 110 ); 111 if(is_wp_error($response)) 112 { 113 $error_message = $response->get_error_message(); 114 error_log("Ebook Store Affiliate: Something went wrong with API: ".$error_message); 115 wp_die(); 116 } 117 } 118 119 91 120 ?> -
ebook-store-affiliate/trunk/readme.txt
r3163728 r3166142 5 5 Requires at least: 6.0 6 6 Tested up to: 6.6.2 7 Stable tag: 1.2. 57 Stable tag: 1.2.6 8 8 Requires PHP: 7.4 9 9 License: GPLv2 or later … … 103 103 104 104 == Changelog == 105 1.2.5 enhanced product update cron 105 106 1.2.5 minor changes in Javascript 106 107 1.2.4 minor changes
Note: See TracChangeset
for help on using the changeset viewer.