Changeset 502327
- Timestamp:
- 02/08/2012 04:50:06 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
contact-form-7-bwp-recaptcha-extension/trunk/includes/CF7bwpCAPT.class.php
r486152 r502327 514 514 */ 515 515 function check_bwp_capt() { 516 $this->is_bwp_capt_active = in_array( 517 'bwp-recaptcha/bwp-recaptcha.php', 518 apply_filters( 519 'active_plugins', 520 get_option( 'active_plugins' ) 521 ) 522 ); 516 include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); 517 $this->is_bwp_capt_active = is_plugin_active('bwp-recaptcha/bwp-recaptcha.php'); 523 518 return $this->is_bwp_capt_active; 524 519 } … … 528 523 */ 529 524 function check_cf7() { 530 $this->is_cf7_active = in_array( 531 'contact-form-7/wp-contact-form-7.php', 532 apply_filters( 533 'active_plugins', 534 get_option( 'active_plugins' ) 535 ) 536 ); 525 include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); 526 $this->is_cf7_active = is_plugin_active('contact-form-7/wp-contact-form-7.php'); 537 527 return $this->is_cf7_active; 538 528 }
Note: See TracChangeset
for help on using the changeset viewer.