Changeset 3170103
- Timestamp:
- 10/16/2024 12:04:43 PM (16 months ago)
- Location:
- adscout
- Files:
-
- 51 added
- 3 edited
-
tags/2.2.5 (added)
-
tags/2.2.5/LICENSE.txt (added)
-
tags/2.2.5/README.txt (added)
-
tags/2.2.5/admin (added)
-
tags/2.2.5/admin/class-adscout-admin.php (added)
-
tags/2.2.5/admin/css (added)
-
tags/2.2.5/admin/css/adscout-admin.css (added)
-
tags/2.2.5/admin/img (added)
-
tags/2.2.5/admin/img/adscout-logo.png (added)
-
tags/2.2.5/admin/img/adscout-logo.svg (added)
-
tags/2.2.5/admin/index.php (added)
-
tags/2.2.5/admin/js (added)
-
tags/2.2.5/admin/js/adscout-admin.js (added)
-
tags/2.2.5/admin/partials (added)
-
tags/2.2.5/admin/partials/adscout-admin-display.php (added)
-
tags/2.2.5/admin/partials/feed-generator.php (added)
-
tags/2.2.5/admin/partials/integration-settings.php (added)
-
tags/2.2.5/admin/partials/order-sync-status-settings.php (added)
-
tags/2.2.5/adscout.php (added)
-
tags/2.2.5/includes (added)
-
tags/2.2.5/includes/class-adscout-activator.php (added)
-
tags/2.2.5/includes/class-adscout-ajax.php (added)
-
tags/2.2.5/includes/class-adscout-deactivator.php (added)
-
tags/2.2.5/includes/class-adscout-encrypt-decrypt.php (added)
-
tags/2.2.5/includes/class-adscout-frontend.php (added)
-
tags/2.2.5/includes/class-adscout-i18n.php (added)
-
tags/2.2.5/includes/class-adscout-jobs.php (added)
-
tags/2.2.5/includes/class-adscout-loader.php (added)
-
tags/2.2.5/includes/class-adscout-logger.php (added)
-
tags/2.2.5/includes/class-adscout-options.php (added)
-
tags/2.2.5/includes/class-adscout-order-processor.php (added)
-
tags/2.2.5/includes/class-adscout-request.php (added)
-
tags/2.2.5/includes/class-adscout-settings.php (added)
-
tags/2.2.5/includes/class-adscout-woocommerce.php (added)
-
tags/2.2.5/includes/class-adscout.php (added)
-
tags/2.2.5/includes/index.php (added)
-
tags/2.2.5/index.php (added)
-
tags/2.2.5/languages (added)
-
tags/2.2.5/languages/adscout-bg_BG.mo (added)
-
tags/2.2.5/languages/adscout-bg_BG.po (added)
-
tags/2.2.5/languages/adscout.pot (added)
-
tags/2.2.5/public (added)
-
tags/2.2.5/public/class-adscout-public.php (added)
-
tags/2.2.5/public/css (added)
-
tags/2.2.5/public/css/adscout-public.css (added)
-
tags/2.2.5/public/index.php (added)
-
tags/2.2.5/public/js (added)
-
tags/2.2.5/public/js/adscout-order-received.js (added)
-
tags/2.2.5/public/js/adscout-public-product-data.js (added)
-
tags/2.2.5/public/js/adscout-public.js (added)
-
tags/2.2.5/uninstall.php (added)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/includes/class-adscout-deactivator.php (modified) (1 diff)
-
trunk/uninstall.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
adscout/trunk/README.txt
r3170090 r3170103 4 4 Requires at least: 4.7 5 5 Tested up to: 6.6 6 Stable tag: 2.2. 46 Stable tag: 2.2.5 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 43 43 44 44 == Changelog == 45 46 = 2.2.5 = 47 * Hotfix: fixed delete action 45 48 46 49 = 2.2.4 = -
adscout/trunk/includes/class-adscout-deactivator.php
r3169961 r3170103 40 40 } 41 41 42 //delete feed if exists and the respective directory 43 $option = (new AdScout_Options())::all_options(); 44 45 if($option['as_feed_file_path'] and file_exists($option['as_feed_file_path'])) { 46 //delete the feed file 47 wp_delete_file($option['as_feed_file_path']); 48 $file = new WP_Filesystem_Direct(false); 49 50 51 //delete the feed directory 52 $upload_dir = wp_upload_dir(); 53 $feed_dir = trailingslashit($upload_dir['basedir']) . 'as-product-feed'; 54 $file->rmdir($feed_dir, true); 55 } 56 57 //delete the log file 58 if(file_exists((new AdScout_Logger())->get_file())) { 59 wp_delete_file((new AdScout_Logger())->get_file()); 60 } 61 42 62 } 43 63 -
adscout/trunk/uninstall.php
r3169961 r3170103 12 12 } 13 13 14 //delete feed if exists and the respective directory15 $option = (new AdScout_Options())::all_options();16 17 if($option['as_feed_file_path'] and file_exists($option['as_feed_file_path'])) {18 //delete the feed file19 wp_delete_file($option['as_feed_file_path']);20 $file = new WP_Filesystem_Direct(false);21 22 23 //delete the feed directory24 $upload_dir = wp_upload_dir();25 $feed_dir = trailingslashit($upload_dir['basedir']) . 'as-product-feed';26 $file->rmdir($feed_dir, true);27 }28 29 //delete the log file30 if(file_exists((new AdScout_Logger())->get_file())) {31 wp_delete_file((new AdScout_Logger())->get_file());32 }33 34 14 //clear all options 35 15 delete_option('as_integration_options'); 16 delete_option('adscout_integration_options');
Note: See TracChangeset
for help on using the changeset viewer.