Changeset 3069950
- Timestamp:
- 04/13/2024 09:00:15 AM (21 months ago)
- Location:
- cforms2-really-simple-captcha/trunk
- Files:
-
- 1 deleted
- 1 edited
-
cforms2_really_simple_captcha.php (modified) (2 diffs)
-
class-tgm-plugin-activation.php (deleted)
Legend:
- Unmodified
- Added
- Removed
-
cforms2-really-simple-captcha/trunk/cforms2_really_simple_captcha.php
r3069810 r3069950 22 22 * Version: 1.3 23 23 * Requires at least: 5.2 24 * Requires Plugins: cforms2 24 * Requires Plugins: cforms2, really-simple-captcha 25 25 * Text Domain: cforms2-really-simple-captcha 26 26 */ … … 309 309 310 310 add_action( 'init', 'cforms2_rsc' , 11); 311 312 313 require_once dirname( __FILE__ ) . '/class-tgm-plugin-activation.php';314 add_action( 'tgmpa_register', 'cforms2_rsc_register_required_plugins' );315 316 /**317 * Registers the required plugins for this plugin.318 */319 function cforms2_rsc_register_required_plugins() {320 321 $plugins = array(322 323 array(324 'name' => 'cformsII',325 'slug' => 'cforms2',326 'required' => true,327 'version' => '14.12.2'328 ),329 330 array(331 'name' => 'Really Simple CAPTCHA',332 'slug' => 'really-simple-captcha',333 'required' => true334 )335 336 );337 338 tgmpa( $plugins );339 340 }
Note: See TracChangeset
for help on using the changeset viewer.