Changeset 1407889
- Timestamp:
- 04/30/2016 03:45:13 AM (10 years ago)
- Location:
- gravity-forms-remove-entries/trunk
- Files:
-
- 3 edited
-
gravity-forms-remove-entries.php (modified) (4 diffs)
-
readme.md (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
gravity-forms-remove-entries/trunk/gravity-forms-remove-entries.php
r1340315 r1407889 4 4 Plugin URI: https://github.com/bhays/gravity-forms-remove-entries 5 5 Description: Remove multiple entries from Gravity Forms. Optionally select a timeframe of removals or remove all. 6 Version: 0.3. 26 Version: 0.3.3 7 7 Author: Ben Hays 8 8 Author URI: http://benhays.com … … 34 34 private static $url = "http://www.gravityforms.com"; 35 35 private static $slug = "gravity-forms-remove-entries"; 36 private static $version = "0.3. 2";36 private static $version = "0.3.3"; 37 37 private static $min_gravityforms_version = "1.5"; 38 38 … … 59 59 //integrating with Members plugin 60 60 if(function_exists('members_get_capabilities')){ 61 add_filter('members_get_capabilities', array("GFRemove", "members_get_capabilities")); 61 add_filter('plugin_name_capability', array("GFRemove", "gf_remove_get_capabilities")); 62 add_filter('members_get_capabilities', array("GFRemove", "gf_remove_extra_caps")); 62 63 } 63 64 … … 75 76 } 76 77 } 78 79 // Return member role capability 80 public static function gf_remove_get_capabilities(){ 81 return 'gravity_forms_remove_entries'; 82 } 83 84 public static function gf_remove_extra_caps( $caps ) { 85 $caps[] = 'gravity_forms_remove_entries'; 86 return $caps; 87 } 77 88 78 89 // Page that does the magic -
gravity-forms-remove-entries/trunk/readme.md
r1340315 r1407889 2 2 ============================ 3 3 4 Version 0.3. 24 Version 0.3.3 5 5 6 6 WordPress plugin for Gravity Forms that allows for easy removal of entries from forms. Remove all entires or entries specified by a date range. … … 23 23 24 24 ### 0.3.2 25 * Really fixed members integration 26 27 ### 0.3.2 25 28 * Fix members_get_capabilities filter 26 29 -
gravity-forms-remove-entries/trunk/readme.txt
r1340315 r1407889 4 4 Tags: gravity forms, gravityforms, remove entries, delete entries, remove 5 5 Requires at least: 3.3 6 Tested up to: 4. 4.27 Stable tag: 0.3. 26 Tested up to: 4.5.1 7 Stable tag: 0.3.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 41 41 == Changelog == 42 42 43 ### 0.3.3 44 * Really fixed members integration 45 43 46 ### 0.3.2 44 47 * Fix members_get_capabilities filter
Note: See TracChangeset
for help on using the changeset viewer.