WordPress.org

Plugin Directory

Changeset 1672782


Ignore:
Timestamp:
06/07/17 18:52:37 (6 months ago)
Author:
travislopes
Message:

Entry Expiration for Gravity Forms (2.0.4)

  • Added capabilities.
  • Updated installation instructions.
Location:
gravity-forms-entry-expiration
Files:
6 added
3 edited

Legend:

Unmodified
Added
Removed
  • gravity-forms-entry-expiration/trunk/class-gf-entryexpiration.php

    r1656875 r1672782  
    9292     */ 
    9393    private static $_instance = null; 
     94 
     95    /** 
     96     * Defines the capability needed to access the Add-On settings page. 
     97     * 
     98     * @since  2.0.4 
     99     * @access protected 
     100     * @var    string $_capabilities_settings_page The capability needed to access the Add-On settings page. 
     101     */ 
     102    protected $_capabilities_settings_page = 'forgravity_entryexpiration'; 
     103 
     104    /** 
     105     * Defines the capability needed to access the Add-On form settings page. 
     106     * 
     107     * @since  2.0.4 
     108     * @access protected 
     109     * @var    string $_capabilities_form_settings The capability needed to access the Add-On form settings page. 
     110     */ 
     111    protected $_capabilities_form_settings = 'forgravity_entryexpiration'; 
     112 
     113    /** 
     114     * Defines the capability needed to uninstall the Add-On. 
     115     * 
     116     * @since  2.0.4 
     117     * @access protected 
     118     * @var    string $_capabilities_uninstall The capability needed to uninstall the Add-On. 
     119     */ 
     120    protected $_capabilities_uninstall = 'forgravity_entryexpiration_uninstall'; 
     121 
     122    /** 
     123     * Defines the capabilities needed for Entry Expiration. 
     124     * 
     125     * @since  2.0.4 
     126     * @access protected 
     127     * @var    array $_capabilities The capabilities needed for the Add-On 
     128     */ 
     129    protected $_capabilities = array( 'forgravity_entryexpiration', 'forgravity_entryexpiration_uninstall' ); 
    94130 
    95131    /** 
  • gravity-forms-entry-expiration/trunk/entryexpiration.php

    r1656875 r1672782  
    44Plugin URI: http://travislop.es/plugins/gravity-forms-entry-expiration/ 
    55Description: Provides a simple way to remove old entries in Gravity Forms. 
    6 Version: 2.0.3 
     6Version: 2.0.4 
    77Author: travislopes 
    88Author URI: http://travislop.es 
     
    1111 **/ 
    1212 
    13 define( 'GF_ENTRYEXPIRATION_VERSION', '2.0.3' ); 
     13define( 'GF_ENTRYEXPIRATION_VERSION', '2.0.4' ); 
    1414 
    1515// If Gravity Forms is loaded, bootstrap the Entry Expiration Add-On. 
  • gravity-forms-entry-expiration/trunk/readme.txt

    r1657212 r1672782  
    33Tags: gravity forms, entry, expiration 
    44Requires at least: 3.9.2 
    5 Tested up to: 4.7.3 
     5Tested up to: 4.7.5 
    66Stable tag: 4.7.3 
    77 
     
    2323== Installation == 
    2424= Requirements = 
    25 * WordPress version 3.9.2 and later (tested at 4.6.1) 
     25* WordPress version 3.9.2 and later (tested at 4.7.5) 
    2626* Gravity Forms 1.8.17 and later 
    2727 
     
    30301. Upload all files to the `/wp-content/plugins/` directory, with folder 
    31311. Activate the plugin through the 'Plugins' menu in WordPress 
    32 1. Navigate to the Entry Expiration Settings page inside of Gravity Forms and set the expiration timeframe. 
    33 1. Navigate to the Form Settings page for each form you want to have entries automatically expire and include them in the expiration process. 
     321. Navigate to the Form Settings page for each form you want to have entries automatically expire and click the 'Entry Expiration' tab. 
     331. Define how often you want entries to be deleted and the minimum age required for entries to be deleted. 
    3434 
    3535== Changelog == 
     36= v2.0.4 = 
     37* Added capabilities. 
     38* Updated installation instructions. 
    3639 
    3740= v2.0.3 = 
Note: See TracChangeset for help on using the changeset viewer.