Plugin Directory

Changeset 3386608


Ignore:
Timestamp:
10/29/2025 06:03:46 PM (5 months ago)
Author:
palashwpdev
Message:

Update to version 1.1.5 from GitHub

Location:
auto-delete-post
Files:
42 added
6 deleted
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • auto-delete-post/assets/screenshot-1.png

    • Property svn:mime-type changed from application/octet-stream to image/png
  • auto-delete-post/assets/screenshot-2.png

    • Property svn:mime-type changed from application/octet-stream to image/png
  • auto-delete-post/assets/screenshot-3.png

    • Property svn:mime-type changed from application/octet-stream to image/png
  • auto-delete-post/assets/screenshot-4.png

    • Property svn:mime-type changed from application/octet-stream to image/png
  • auto-delete-post/tags/1.1.5/auto-delete-post.php

    r3132899 r3386608  
    66 * Plugin URI:        https://wordpress.org/plugin/auto-delete-post
    77 * Description:       This plugin automatically deletes a post after a certain time
    8  * Version:           1.1.4
     8 * Version:           1.1.5
    99 * Requires at least: 5.2
    1010 * Tested up to:      6.6.1
     
    2020if ( ! defined( 'ABSPATH' ) ) exit; // EXIT IF ACCESSED DIRECTLY
    2121
    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
     23if ( ! defined( 'AUTO_DELETE_POSTS_FILE' ) ) {
     24    define( 'AUTO_DELETE_POSTS_FILE', __FILE__ );
     25}
    2826
    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();
     27if ( ! 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}
    4831
    4932/**
    50  * Initialize the plugin tracker
    51  *
    52  * @return void
     33 * Initialize the plugin using the MVC and Singleton pattern
    5334 */
    54 function appsero_init_tracker_auto_delete_post() {
     35function 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}
    5549
    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
     51add_action( 'plugins_loaded', 'adp_initialize_plugin' );
  • auto-delete-post/tags/1.1.5/readme.txt

    r3132899 r3386608  
    22Contributors: palashwpdev
    33Donate 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
     5Tags: 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
     6Requires PHP: 7.4
    67Requires at least: 5.2
    7 Tested up to: 6.6.1
    8 Version: 1.1.4
    9 Stable tag: 1.1.4
     8Tested up to: 6.8.3
     9Version: 1.1.5
     10Stable tag: 1.1.5
    1011License: GPLv2 or later
    1112License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1213
    1314== 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.
     15Auto 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.
    1516
     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
    1627
    1728== Installation ==
     
    3142Yes
    3243
     44= Can I choose which post types are affected by auto-deletion? =
     45Yes, 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? =
     48You 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? =
     51Yes, 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? =
     54Yes, 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
    3356== Screenshots ==
    3457
    35581. 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
     592. Select a time and date from the custom meta box field of this plugin on the post edit screen
    37603. 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 functionality
     614. Select any post types where you want to enable this functionality and choose between moving to trash or permanent deletion in the plugin settings.
    3962
    4063== Changelog ==
     64= 1.1.5 =
     65* Checked compatibility with latest version of WP
     66* Updated tested up to version to 6.7.2
     67
    4168= 1.1.4 =
    42 Added date time field in the quick edit section of post
     69* Added date time field in the quick edit section of post
    4370
    4471= 1.1.3 =
    45 Solved unable to restore post from trash issue.
     72* Solved unable to restore post from trash issue.
    4673
    4774== Upgrade Notice ==
    4875
    49 = 1.1.4 =
     76= 1.1.5 =
    5077There is a upgrade available.
  • auto-delete-post/trunk/auto-delete-post.php

    r3132899 r3386608  
    66 * Plugin URI:        https://wordpress.org/plugin/auto-delete-post
    77 * Description:       This plugin automatically deletes a post after a certain time
    8  * Version:           1.1.4
     8 * Version:           1.1.5
    99 * Requires at least: 5.2
    1010 * Tested up to:      6.6.1
     
    2020if ( ! defined( 'ABSPATH' ) ) exit; // EXIT IF ACCESSED DIRECTLY
    2121
    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
     23if ( ! defined( 'AUTO_DELETE_POSTS_FILE' ) ) {
     24    define( 'AUTO_DELETE_POSTS_FILE', __FILE__ );
     25}
    2826
    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();
     27if ( ! 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}
    4831
    4932/**
    50  * Initialize the plugin tracker
    51  *
    52  * @return void
     33 * Initialize the plugin using the MVC and Singleton pattern
    5334 */
    54 function appsero_init_tracker_auto_delete_post() {
     35function 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}
    5549
    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
     51add_action( 'plugins_loaded', 'adp_initialize_plugin' );
  • auto-delete-post/trunk/readme.txt

    r3132899 r3386608  
    22Contributors: palashwpdev
    33Donate 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
     5Tags: 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
     6Requires PHP: 7.4
    67Requires at least: 5.2
    7 Tested up to: 6.6.1
    8 Version: 1.1.4
    9 Stable tag: 1.1.4
     8Tested up to: 6.8.3
     9Version: 1.1.5
     10Stable tag: 1.1.5
    1011License: GPLv2 or later
    1112License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1213
    1314== 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.
     15Auto 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.
    1516
     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
    1627
    1728== Installation ==
     
    3142Yes
    3243
     44= Can I choose which post types are affected by auto-deletion? =
     45Yes, 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? =
     48You 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? =
     51Yes, 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? =
     54Yes, 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
    3356== Screenshots ==
    3457
    35581. 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
     592. Select a time and date from the custom meta box field of this plugin on the post edit screen
    37603. 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 functionality
     614. Select any post types where you want to enable this functionality and choose between moving to trash or permanent deletion in the plugin settings.
    3962
    4063== Changelog ==
     64= 1.1.5 =
     65* Checked compatibility with latest version of WP
     66* Updated tested up to version to 6.7.2
     67
    4168= 1.1.4 =
    42 Added date time field in the quick edit section of post
     69* Added date time field in the quick edit section of post
    4370
    4471= 1.1.3 =
    45 Solved unable to restore post from trash issue.
     72* Solved unable to restore post from trash issue.
    4673
    4774== Upgrade Notice ==
    4875
    49 = 1.1.4 =
     76= 1.1.5 =
    5077There is a upgrade available.
Note: See TracChangeset for help on using the changeset viewer.