Changeset 3386608
- Timestamp:
- 10/29/2025 06:03:46 PM (5 months ago)
- Location:
- auto-delete-post
- Files:
-
- 42 added
- 6 deleted
- 8 edited
- 1 copied
-
assets/banner-1544x500.png (added)
-
assets/screenshot-1.png (modified) (1 prop) (previous)
-
assets/screenshot-2.png (modified) (1 prop) (previous)
-
assets/screenshot-3.png (modified) (1 prop) (previous)
-
assets/screenshot-4.png (modified) (1 prop) (previous)
-
assets/screenshot-5.png (added)
-
tags/1.1.5 (copied) (copied from auto-delete-post/trunk)
-
tags/1.1.5/README.md (added)
-
tags/1.1.5/appsero (deleted)
-
tags/1.1.5/assetsManager (deleted)
-
tags/1.1.5/auto-delete-post.php (modified) (2 diffs)
-
tags/1.1.5/composer.json (added)
-
tags/1.1.5/composer.lock (added)
-
tags/1.1.5/controllers (added)
-
tags/1.1.5/controllers/ADP_Assets_Controller.php (added)
-
tags/1.1.5/controllers/ADP_Post_Manager_Controller.php (added)
-
tags/1.1.5/controllers/ADP_Settings_Controller.php (added)
-
tags/1.1.5/core (added)
-
tags/1.1.5/core/Auto_Delete_Post_App.php (added)
-
tags/1.1.5/core/Singleton.php (added)
-
tags/1.1.5/helpers (added)
-
tags/1.1.5/helpers/ADP_Column_Helper.php (added)
-
tags/1.1.5/helpers/ADP_Post_Restoration_Helper.php (added)
-
tags/1.1.5/helpers/ADP_Quick_Edit_Helper.php (added)
-
tags/1.1.5/includes (deleted)
-
tags/1.1.5/models (added)
-
tags/1.1.5/models/ADP_Post_Model.php (added)
-
tags/1.1.5/models/ADP_Settings_Model.php (added)
-
tags/1.1.5/readme.txt (modified) (2 diffs)
-
tags/1.1.5/views (added)
-
tags/1.1.5/views/ADP_Meta_Box_View.php (added)
-
tags/1.1.5/views/ADP_Settings_View.php (added)
-
trunk/README.md (added)
-
trunk/appsero (deleted)
-
trunk/assetsManager (deleted)
-
trunk/auto-delete-post.php (modified) (2 diffs)
-
trunk/composer.json (added)
-
trunk/composer.lock (added)
-
trunk/controllers (added)
-
trunk/controllers/ADP_Assets_Controller.php (added)
-
trunk/controllers/ADP_Post_Manager_Controller.php (added)
-
trunk/controllers/ADP_Settings_Controller.php (added)
-
trunk/core (added)
-
trunk/core/Auto_Delete_Post_App.php (added)
-
trunk/core/Singleton.php (added)
-
trunk/helpers (added)
-
trunk/helpers/ADP_Column_Helper.php (added)
-
trunk/helpers/ADP_Post_Restoration_Helper.php (added)
-
trunk/helpers/ADP_Quick_Edit_Helper.php (added)
-
trunk/includes (deleted)
-
trunk/models (added)
-
trunk/models/ADP_Post_Model.php (added)
-
trunk/models/ADP_Settings_Model.php (added)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/views (added)
-
trunk/views/ADP_Meta_Box_View.php (added)
-
trunk/views/ADP_Settings_View.php (added)
Legend:
- Unmodified
- Added
- Removed
-
auto-delete-post/assets/screenshot-1.png
-
Property
svn:mime-type
changed from
application/octet-streamtoimage/png
-
Property
svn:mime-type
changed from
-
auto-delete-post/assets/screenshot-2.png
-
Property
svn:mime-type
changed from
application/octet-streamtoimage/png
-
Property
svn:mime-type
changed from
-
auto-delete-post/assets/screenshot-3.png
-
Property
svn:mime-type
changed from
application/octet-streamtoimage/png
-
Property
svn:mime-type
changed from
-
auto-delete-post/assets/screenshot-4.png
-
Property
svn:mime-type
changed from
application/octet-streamtoimage/png
-
Property
svn:mime-type
changed from
-
auto-delete-post/tags/1.1.5/auto-delete-post.php
r3132899 r3386608 6 6 * Plugin URI: https://wordpress.org/plugin/auto-delete-post 7 7 * Description: This plugin automatically deletes a post after a certain time 8 * Version: 1.1. 48 * Version: 1.1.5 9 9 * Requires at least: 5.2 10 10 * Tested up to: 6.6.1 … … 20 20 if ( ! defined( 'ABSPATH' ) ) exit; // EXIT IF ACCESSED DIRECTLY 21 21 22 /** 23 * All constants 24 */ 25 // Constants for version 26 $adp_version = '1.1.4'; 27 define( 'ADP_VERSION', $adp_version ); 22 // Define the main plugin file constant for use throughout the plugin 23 if ( ! defined( 'AUTO_DELETE_POSTS_FILE' ) ) { 24 define( 'AUTO_DELETE_POSTS_FILE', __FILE__ ); 25 } 28 26 29 // Constants for css file path 30 define( 'ADP_CSS', plugin_dir_url( __FILE__ ) . 'assets/css/' ); 31 define( 'ADP_JS', plugin_dir_url( __FILE__ ) . 'assets/js/' ); 32 33 // Include necessary files 34 require_once plugin_dir_path( __FILE__ ) . 'includes/class-auto-delete-option-selection.php'; 35 require_once plugin_dir_path( __FILE__ ) . 'includes/class-auto-delete-post.php'; 36 require_once plugin_dir_path( __FILE__ ) . 'includes/class-custom-post-column.php'; 37 require_once plugin_dir_path( __FILE__ ) . 'includes/class-delete-post-meta-on-restore.php'; 38 require_once plugin_dir_path( __FILE__ ) . 'includes/class-quick-edit-option.php'; 39 require_once plugin_dir_path( __FILE__ ) . 'assetsManager/assets-manager.php'; 40 41 // Initialize classes 42 new ADP_Auto_Delete_Option_Selection(); 43 new ADP_Auto_Delete_Post(); 44 new ADP_Custom_Post_Column(); 45 new Delete_Post_Meta_On_Post_Restore(); 46 new Assets_Manager(); 47 new ADP_Quick_Edit(); 27 if ( ! defined( 'AUTO_DELETE_POSTS_URL' ) ) { 28 define( 'AUTO_DELETE_POSTS_URL', plugin_dir_url( __FILE__ ) ); 29 define( 'AUTO_DELETE_POSTS_PATH', plugin_dir_path( __FILE__ ) ); 30 } 48 31 49 32 /** 50 * Initialize the plugin tracker 51 * 52 * @return void 33 * Initialize the plugin using the MVC and Singleton pattern 53 34 */ 54 function appsero_init_tracker_auto_delete_post() { 35 function adp_initialize_plugin() { 36 // Include Composer autoloader 37 if ( file_exists( plugin_dir_path( __FILE__ ) . 'vendor/autoload.php' ) ) { 38 require_once plugin_dir_path( __FILE__ ) . 'vendor/autoload.php'; 39 } 40 41 // Initialize the main application 42 $app = Auto_Delete_Post_App::get_instance(); 43 44 // Initialize helpers that need to run independently 45 ADP_Column_Helper::get_instance(); 46 ADP_Quick_Edit_Helper::get_instance(); 47 ADP_Post_Restoration_Helper::get_instance(); 48 } 55 49 56 if ( ! class_exists( 'Appsero\Client' ) ) { 57 require_once __DIR__ . '/appsero/src/Client.php'; 58 } 59 60 $client = new Appsero\Client( '777556b2-6bfc-4558-a1ef-08a41e10ee58', 'Auto Delete Post – Ultimate plugin for deleting a post automatically', __FILE__ ); 61 62 // Active insights 63 $client->insights()->init(); 64 65 } 66 appsero_init_tracker_auto_delete_post(); 50 // Initialize the plugin 51 add_action( 'plugins_loaded', 'adp_initialize_plugin' ); -
auto-delete-post/tags/1.1.5/readme.txt
r3132899 r3386608 2 2 Contributors: palashwpdev 3 3 Donate link: https://buymeacoffee.com/palash_wp 4 Tags: automatic post delete, automatic delete post, delete post, delete page, delete custom post type, post delete, delete post after a certain time 5 Requires PHP: 7.2 4 5 Tags: automatic post delete, automatic delete post, delete post, delete page, delete custom post type, post delete, delete post after a certain time, scheduled deletion, auto-expire content 6 Requires PHP: 7.4 6 7 Requires at least: 5.2 7 Tested up to: 6. 6.18 Version: 1.1. 49 Stable tag: 1.1. 48 Tested up to: 6.8.3 9 Version: 1.1.5 10 Stable tag: 1.1.5 10 11 License: GPLv2 or later 11 12 License URI: http://www.gnu.org/licenses/gpl-2.0.html 12 13 13 14 == Description == 14 Delete your any blog post, page, or any other custom post type automatically after a certain time. This plugin will help you to delete a post after expiration of the given time which you can set during a post publish. Set a time from the time and date input field and be tension free! The plugin will do the rest for you. You can also select from the options checkbox in the Auto Delete Posts menu page where to add this automatic post deletion functionality.15 Auto Delete Post is a comprehensive WordPress plugin that automatically deletes posts, pages, and custom post types after a specified time. Set a deletion date and time when publishing content, and the plugin will automatically remove it when the specified time arrives. Perfect for time-sensitive content, temporary posts, or automatically cleaning up outdated material. 15 16 17 **Key Features:** 18 * Schedule automatic deletion for any post, page, or custom post type 19 * Choose between moving posts to trash or permanent deletion 20 * Support for all public post types in WordPress 21 * Dedicated settings page to configure which post types to include 22 * Custom meta box on post edit screen to set deletion time 23 * Quick edit functionality for bulk scheduling 24 * Custom column showing scheduled deletion times 25 * Real-time reliable deletion processing 26 * Automatic removal of deletion schedule when posts are restored from trash 16 27 17 28 == Installation == … … 31 42 Yes 32 43 44 = Can I choose which post types are affected by auto-deletion? = 45 Yes, you can select which post types should have the auto-deletion functionality available via the plugin's Settings page under the "Auto Delete Posts" menu. 46 47 = What happens when a post is scheduled for deletion? = 48 You can choose whether posts should be moved to trash or permanently deleted when the scheduled time arrives. This is configured in the plugin's Settings page. 49 50 = Can I schedule multiple posts for deletion at once? = 51 Yes, you can use the quick edit functionality on the posts list page to set deletion times for multiple posts quickly. 52 53 = Can I cancel an auto-deletion after scheduling it? = 54 Yes, you can cancel an auto-deletion by removing the scheduled time from the post's edit screen or clearing the field in quick edit. 55 33 56 == Screenshots == 34 57 35 58 1. Set the default time zone from the WordPress settings option to work correctly according to your timezone 36 2. Select a time and date from the custom meta box field of this plugin 59 2. Select a time and date from the custom meta box field of this plugin on the post edit screen 37 60 3. You can also select the time from the quick edit option, no need to go to the edit section of any post. 38 4. Select any main pages of WordPress from the checkbox options in the menu page where you want to add this functionality61 4. Select any post types where you want to enable this functionality and choose between moving to trash or permanent deletion in the plugin settings. 39 62 40 63 == Changelog == 64 = 1.1.5 = 65 * Checked compatibility with latest version of WP 66 * Updated tested up to version to 6.7.2 67 41 68 = 1.1.4 = 42 Added date time field in the quick edit section of post69 * Added date time field in the quick edit section of post 43 70 44 71 = 1.1.3 = 45 Solved unable to restore post from trash issue.72 * Solved unable to restore post from trash issue. 46 73 47 74 == Upgrade Notice == 48 75 49 = 1.1. 4=76 = 1.1.5 = 50 77 There is a upgrade available. -
auto-delete-post/trunk/auto-delete-post.php
r3132899 r3386608 6 6 * Plugin URI: https://wordpress.org/plugin/auto-delete-post 7 7 * Description: This plugin automatically deletes a post after a certain time 8 * Version: 1.1. 48 * Version: 1.1.5 9 9 * Requires at least: 5.2 10 10 * Tested up to: 6.6.1 … … 20 20 if ( ! defined( 'ABSPATH' ) ) exit; // EXIT IF ACCESSED DIRECTLY 21 21 22 /** 23 * All constants 24 */ 25 // Constants for version 26 $adp_version = '1.1.4'; 27 define( 'ADP_VERSION', $adp_version ); 22 // Define the main plugin file constant for use throughout the plugin 23 if ( ! defined( 'AUTO_DELETE_POSTS_FILE' ) ) { 24 define( 'AUTO_DELETE_POSTS_FILE', __FILE__ ); 25 } 28 26 29 // Constants for css file path 30 define( 'ADP_CSS', plugin_dir_url( __FILE__ ) . 'assets/css/' ); 31 define( 'ADP_JS', plugin_dir_url( __FILE__ ) . 'assets/js/' ); 32 33 // Include necessary files 34 require_once plugin_dir_path( __FILE__ ) . 'includes/class-auto-delete-option-selection.php'; 35 require_once plugin_dir_path( __FILE__ ) . 'includes/class-auto-delete-post.php'; 36 require_once plugin_dir_path( __FILE__ ) . 'includes/class-custom-post-column.php'; 37 require_once plugin_dir_path( __FILE__ ) . 'includes/class-delete-post-meta-on-restore.php'; 38 require_once plugin_dir_path( __FILE__ ) . 'includes/class-quick-edit-option.php'; 39 require_once plugin_dir_path( __FILE__ ) . 'assetsManager/assets-manager.php'; 40 41 // Initialize classes 42 new ADP_Auto_Delete_Option_Selection(); 43 new ADP_Auto_Delete_Post(); 44 new ADP_Custom_Post_Column(); 45 new Delete_Post_Meta_On_Post_Restore(); 46 new Assets_Manager(); 47 new ADP_Quick_Edit(); 27 if ( ! defined( 'AUTO_DELETE_POSTS_URL' ) ) { 28 define( 'AUTO_DELETE_POSTS_URL', plugin_dir_url( __FILE__ ) ); 29 define( 'AUTO_DELETE_POSTS_PATH', plugin_dir_path( __FILE__ ) ); 30 } 48 31 49 32 /** 50 * Initialize the plugin tracker 51 * 52 * @return void 33 * Initialize the plugin using the MVC and Singleton pattern 53 34 */ 54 function appsero_init_tracker_auto_delete_post() { 35 function adp_initialize_plugin() { 36 // Include Composer autoloader 37 if ( file_exists( plugin_dir_path( __FILE__ ) . 'vendor/autoload.php' ) ) { 38 require_once plugin_dir_path( __FILE__ ) . 'vendor/autoload.php'; 39 } 40 41 // Initialize the main application 42 $app = Auto_Delete_Post_App::get_instance(); 43 44 // Initialize helpers that need to run independently 45 ADP_Column_Helper::get_instance(); 46 ADP_Quick_Edit_Helper::get_instance(); 47 ADP_Post_Restoration_Helper::get_instance(); 48 } 55 49 56 if ( ! class_exists( 'Appsero\Client' ) ) { 57 require_once __DIR__ . '/appsero/src/Client.php'; 58 } 59 60 $client = new Appsero\Client( '777556b2-6bfc-4558-a1ef-08a41e10ee58', 'Auto Delete Post – Ultimate plugin for deleting a post automatically', __FILE__ ); 61 62 // Active insights 63 $client->insights()->init(); 64 65 } 66 appsero_init_tracker_auto_delete_post(); 50 // Initialize the plugin 51 add_action( 'plugins_loaded', 'adp_initialize_plugin' ); -
auto-delete-post/trunk/readme.txt
r3132899 r3386608 2 2 Contributors: palashwpdev 3 3 Donate link: https://buymeacoffee.com/palash_wp 4 Tags: automatic post delete, automatic delete post, delete post, delete page, delete custom post type, post delete, delete post after a certain time 5 Requires PHP: 7.2 4 5 Tags: automatic post delete, automatic delete post, delete post, delete page, delete custom post type, post delete, delete post after a certain time, scheduled deletion, auto-expire content 6 Requires PHP: 7.4 6 7 Requires at least: 5.2 7 Tested up to: 6. 6.18 Version: 1.1. 49 Stable tag: 1.1. 48 Tested up to: 6.8.3 9 Version: 1.1.5 10 Stable tag: 1.1.5 10 11 License: GPLv2 or later 11 12 License URI: http://www.gnu.org/licenses/gpl-2.0.html 12 13 13 14 == Description == 14 Delete your any blog post, page, or any other custom post type automatically after a certain time. This plugin will help you to delete a post after expiration of the given time which you can set during a post publish. Set a time from the time and date input field and be tension free! The plugin will do the rest for you. You can also select from the options checkbox in the Auto Delete Posts menu page where to add this automatic post deletion functionality.15 Auto Delete Post is a comprehensive WordPress plugin that automatically deletes posts, pages, and custom post types after a specified time. Set a deletion date and time when publishing content, and the plugin will automatically remove it when the specified time arrives. Perfect for time-sensitive content, temporary posts, or automatically cleaning up outdated material. 15 16 17 **Key Features:** 18 * Schedule automatic deletion for any post, page, or custom post type 19 * Choose between moving posts to trash or permanent deletion 20 * Support for all public post types in WordPress 21 * Dedicated settings page to configure which post types to include 22 * Custom meta box on post edit screen to set deletion time 23 * Quick edit functionality for bulk scheduling 24 * Custom column showing scheduled deletion times 25 * Real-time reliable deletion processing 26 * Automatic removal of deletion schedule when posts are restored from trash 16 27 17 28 == Installation == … … 31 42 Yes 32 43 44 = Can I choose which post types are affected by auto-deletion? = 45 Yes, you can select which post types should have the auto-deletion functionality available via the plugin's Settings page under the "Auto Delete Posts" menu. 46 47 = What happens when a post is scheduled for deletion? = 48 You can choose whether posts should be moved to trash or permanently deleted when the scheduled time arrives. This is configured in the plugin's Settings page. 49 50 = Can I schedule multiple posts for deletion at once? = 51 Yes, you can use the quick edit functionality on the posts list page to set deletion times for multiple posts quickly. 52 53 = Can I cancel an auto-deletion after scheduling it? = 54 Yes, you can cancel an auto-deletion by removing the scheduled time from the post's edit screen or clearing the field in quick edit. 55 33 56 == Screenshots == 34 57 35 58 1. Set the default time zone from the WordPress settings option to work correctly according to your timezone 36 2. Select a time and date from the custom meta box field of this plugin 59 2. Select a time and date from the custom meta box field of this plugin on the post edit screen 37 60 3. You can also select the time from the quick edit option, no need to go to the edit section of any post. 38 4. Select any main pages of WordPress from the checkbox options in the menu page where you want to add this functionality61 4. Select any post types where you want to enable this functionality and choose between moving to trash or permanent deletion in the plugin settings. 39 62 40 63 == Changelog == 64 = 1.1.5 = 65 * Checked compatibility with latest version of WP 66 * Updated tested up to version to 6.7.2 67 41 68 = 1.1.4 = 42 Added date time field in the quick edit section of post69 * Added date time field in the quick edit section of post 43 70 44 71 = 1.1.3 = 45 Solved unable to restore post from trash issue.72 * Solved unable to restore post from trash issue. 46 73 47 74 == Upgrade Notice == 48 75 49 = 1.1. 4=76 = 1.1.5 = 50 77 There is a upgrade available.
Note: See TracChangeset
for help on using the changeset viewer.