Plugin Directory

Changeset 3100152

Timestamp:
06/09/2024 06:48:04 PM (2 months ago)
Author:
dartiss
Message:

Version 1.7

Location:
artiss-transient-cleaner/trunk
Files:
6 added
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • artiss-transient-cleaner/trunk/artiss-transient-cleaner.php

    r3057738 r3100152  
    33 * Transient Cleaner
    44 *
    5  * @package           Artiss-Transient-Cleaner
     5 * @package           leaner
    66 * @author            David Artiss
    77 * @license           GPL-2.0-or-later
     
    1010 * Plugin URI:        https://wordpress.org/plugins/artiss-transient-cleaner/
    1111 * Description:       Clear expired transients from your options table.
    12  * Version:           1.6.2
     12 * Version:           1.
    1313 * Requires at least: 4.4
    1414 * Requires PHP:      7.4
     
    2727 */
    2828
     29
     30
     31
     32
     33
     34
    2935// Define global to hold the plugin base file name.
    3036
     
    3339}
    3440
    35 $functions_dir = plugin_dir_path( __FILE__ ) . 'includes/';
     41$functions_dir = plugin_dir_path( __FILE__ ) . 'inc/';
    3642
    3743// Include all the various functions.
    3844
    39 require_once $functions_dir . 'clean-transients.php';      // General configuration set-up.
     45require_once
    4046
    41 require_once $functions_dir . 'shared-functions.php';      // Assorted shared functions.
     47require_once
    4248
    43 if ( is_admin() ) {
     49require_once plugin_dir_path( __FILE__ ) . 'inc/settings.php';
    4450
    45     include_once $functions_dir . 'set-admin-config.php';  // Administration configuration.
    46 
    47 }
     51require_once plugin_dir_path( __FILE__ ) . 'inc/shared.php';
  • artiss-transient-cleaner/trunk/readme.txt

    r3057738 r3100152  
    11=== Transient Cleaner ===
    22Contributors: dartiss
     3
    34Tags: cache, clean, database, options, transient
    45Requires at least: 4.4
    56Tested up to: 6.5
    67Requires PHP: 7.4
    7 Stable tag: 1.6.2
     8Stable tag: 1.
    89License: GPLv2 or later
    910License URI: http://www.gnu.org/licenses/gpl-2.0.html
     11
    1012
    1113Clean expired transients from your options table. The original and best!
     
    1719**Transient housekeeping was added to the core of WordPress after version 5.8. However, I have decided to open up this plugin to all versions to allow for manual transient cleaning. Longer term I am working on a new version of the plugin, designed specifically for all WordPress releases.**
    1820
     21
     22
     23
     24
     25
    1926"Transients are a simple and standardized way of storing cached data in the WordPress database temporarily by giving it a custom name and a timeframe after which it will expire and be deleted."
    2027
     
    2431
    2532Meantime, this plugin is the hero that you've been waiting for. Simply activate the plugin, sit back and enjoy a much cleaner, smaller options table. It also adds the additional recommendation that after a database upgrade all transients will be cleared down.
    26 
    27 I'd like to thank WordPress Developer Andrew Nacin for his early discussion on this. Also, I'd like to acknowledge [the useful article at Everybody Staze](http://www.staze.org/wordpress-_transient-buildup/ "WordPress _transient buildup") for ensuring the proposed solution made sense, and [W-Shadow.com](http://w-shadow.com/blog/2012/04/17/delete-stale-transients/ "Cleaning Up Stale Transients") for the cleaning code.
    28 
    29 Iconography is courtesy of the very talented [Janki Rathod](https://www.fiverr.com/jankirathore) .
    3033
    3134== The Settings Screen ==
     
    5255* `clear_all_transients` - this will remove any and all transients, expired or otherwise
    5356
     57
     58
     59
     60
     61
     62
    5463== Installation ==
    5564
    56 Transient Cleaner can be found and installed via the Plugin menu within WordPress administration (Plugins -> Add New). Alternatively, it can be downloaded from WordPress.org and installed manually...
    57 
    58 1. Upload the entire `artiss-transient-cleaner` folder to your `wp-content/plugins/` directory.
    59 2. Activate the plugin through the 'Plugins' menu in WordPress administration.
    60 
    61 Voila! It's ready to go.
     65This plugin can be found and installed via the Plugin menu within WP Admin (Plugins -> Add New). Alternatively, it can be downloaded from WordPress.org and installed manually...
     66
     671. Upload the entire unzipped plugin folder to your `wp-content/plugins/` directory, either from WP Admin (Plugins -> Add New), your favorite FTP client or any other file manager
     682. Activate the plugin through the 'Plugins' menu in WP Admin (Plugins -> Installed Plugins)
    6269
    6370== Frequently Asked Questions ==
     
    8491
    8592I use semantic versioning, with the first release being 1.0.
     93
     94
     95
     96
     97
    8698
    8799= 1.6.2 =
     
    198210== Upgrade Notice ==
    199211
    200 = 1.6.2 =
    201 * Fixed a bug in the settings screen
     212= 1. =
     213*
Note: See TracChangeset for help on using the changeset viewer.