Skip to content

Commit

Permalink
Release 7.2 (#109)
Browse files Browse the repository at this point in the history
* [create-pull-request] automated changes sync

* Correcting readme

* [create-pull-request] automated changes sync

* Update readme.txt

* [create-pull-request] automated changes sync

* Update readme.txt

* [create-pull-request] automated changes sync

* Update readme.txt

* [create-pull-request] automated changes sync

* Update readme.txt

* [create-pull-request] automated changes sync

* Update readme.txt

* [create-pull-request] automated changes sync (#83)

Co-authored-by: DannyWPWS <DannyWPWS@users.noreply.github.com>

* Correcting readme

* Automated sync from the premium version of the plugin (#84)

* [create-pull-request] automated changes sync

* Correcting readme (removing premium notes)

* Updare readme

* Correct readme

* Update readme from master

Co-authored-by: DannyWPWS <DannyWPWS@users.noreply.github.com>

* Automated sync from the premium version of the plugin (#86)

* [create-pull-request] automated changes sync

* Update readme

Co-authored-by: DannyWPWS <DannyWPWS@users.noreply.github.com>

* Automated sync from the premium version of the plugin (#88)

* [create-pull-request] automated changes sync

* Correcting readme

Co-authored-by: DannyWPWS <DannyWPWS@users.noreply.github.com>

* Automated sync from the premium version of the plugin (#90)

* [create-pull-request] automated changes sync

* Update readme

Co-authored-by: DannyWPWS <DannyWPWS@users.noreply.github.com>

* Automated sync from the premium version of the plugin (#92)

* [create-pull-request] automated changes sync

* Correcting readme

Co-authored-by: DannyWPWS <DannyWPWS@users.noreply.github.com>

* Automated sync from the premium version of the plugin (#96)

* [create-pull-request] automated changes sync

* Update readme.txt

Co-authored-by: DannyWPWS <DannyWPWS@users.noreply.github.com>

* [create-pull-request] automated changes sync (#97)

Co-authored-by: DannyWPWS <DannyWPWS@users.noreply.github.com>

* [create-pull-request] automated changes sync (#99)

Co-authored-by: DannyWPWS <DannyWPWS@users.noreply.github.com>

* [create-pull-request] automated changes sync (#100)

Co-authored-by: DannyWPWS <DannyWPWS@users.noreply.github.com>

* [create-pull-request] automated changes sync (#101)

Co-authored-by: DannyWPWS <DannyWPWS@users.noreply.github.com>

* [create-pull-request] automated changes sync (#103)

Co-authored-by: DannyWPWS <DannyWPWS@users.noreply.github.com>

* [create-pull-request] automated changes sync (#104)

Co-authored-by: DannyWPWS <DannyWPWS@users.noreply.github.com>

* [create-pull-request] automated changes sync (#105)

Co-authored-by: DannyWPWS <DannyWPWS@users.noreply.github.com>

* PHP 7.2

* [create-pull-request] automated changes sync (#108)

Co-authored-by: DannyWPWS <DannyWPWS@users.noreply.github.com>

* Removing unwanted files

---------

Co-authored-by: DannyWPWS <DannyWPWS@users.noreply.github.com>
Co-authored-by: Robert Abela <robert@wpwhitesecurity.com>
  • Loading branch information
3 people authored Apr 27, 2023
1 parent 5f2bb06 commit f712dae
Show file tree
Hide file tree
Showing 21 changed files with 1,929 additions and 439 deletions.
96 changes: 0 additions & 96 deletions .gitignore

This file was deleted.

4 changes: 4 additions & 0 deletions admin/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?php
/**
* Nothing to see here.
*/
471 changes: 419 additions & 52 deletions admin/settings.php

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions admin/templates/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?php
/**
* Nothing to see here.
*/
25 changes: 25 additions & 0 deletions admin/templates/upgrade/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,31 @@
<p class="c7"><span class="c5"><span class="dashicons dashicons-no"></span></span></p>
</td>
</tr>

<tr class="c2">
<td class="c6" colspan="1" rowspan="1">
<p class="c10"><span class="c5"><strong>1-click spam protection for forms built with Gravity Forms</strong>Add CAPTCHA to any form built with Gravity Forms at the click of a button. No shortcodes required.</span></p>
</td>
<td class="c8" colspan="1" rowspan="1">
<p class="c7"><span class="c5"><span class="dashicons dashicons-saved"></span></span></p>
</td>
<td class="c12" colspan="1" rowspan="1">
<p class="c7"><span class="c5"><span class="dashicons dashicons-no"></span></span></p>
</td>
</tr>

<tr class="c2">
<td class="c6" colspan="1" rowspan="1">
<p class="c10"><span class="c5"><strong>1-click spam protection for forms built with WPForms</strong>Add CAPTCHA to any form built with WPForms at the click of a button. No shortcodes required.</span></p>
</td>
<td class="c8" colspan="1" rowspan="1">
<p class="c7"><span class="c5"><span class="dashicons dashicons-saved"></span></span></p>
</td>
<td class="c12" colspan="1" rowspan="1">
<p class="c7"><span class="c5"><span class="dashicons dashicons-no"></span></span></p>
</td>
</tr>

<tr class="c2">
<td class="c6" colspan="1" rowspan="1">
<p class="c10"><span class="c5"><strong>1-click spam protection for Mailchimp for WordPress forms</strong>Add CAPTCHA to any MC4WP form at the click of a button. No shortcodes required.</span></p>
Expand Down
19 changes: 15 additions & 4 deletions advanced-nocaptcha-recaptcha.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
/**
* CAPTCHA 4WP
*
* @copyright Copyright (C) 2013-2022, WP White Security - support@wpwhitesecurity.com
* @copyright Copyright (C) 2013-2023, WP White Security - support@wpwhitesecurity.com
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License, version 3 or higher
*
* @wordpress-plugin
* Plugin Name: CAPTCHA 4WP
* Version: 7.1.1
* Version: 7.2.0
* Plugin URI: https://www.wpwhitesecurity.com/wordpress-plugins/captcha-plugin-wordpress/
* Description: Easily add any type of CAPTCHA (such as noCaptcha or invisible Captcha) on any website form, including login pages, comments and password reset forms, and also forms by third party plugins such as Contact Form 7, WooCommerce & BuddyPress.
* Author: WP White Security
Expand Down Expand Up @@ -62,7 +62,7 @@ private function __construct() {


if ( is_plugin_active( 'advanced-nocaptcha-and-invisible-captcha-pro/advanced-nocaptcha-and-invisible-captcha-pro.php' ) ) {
deactivate_plugins( 'advanced-nocaptcha-and-invisible-captcha-pro/advanced-nocaptcha-and-invisible-captcha-pro.php' );
deactivate_plugins( 'advanced-nocaptcha-recaptcha/advanced-nocaptcha-recaptcha.php' );
return;
}

Expand All @@ -89,7 +89,7 @@ public static function init() {
* @return void
*/
private function constants() {
define( 'C4WP_PLUGIN_VERSION', '7.1.1' );
define( 'C4WP_PLUGIN_VERSION', '7.2.0' );
define( 'C4WP_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
define( 'C4WP_PLUGIN_URL', plugins_url( '/', __FILE__ ) );
define( 'C4WP_PLUGIN_FILE', __FILE__ );
Expand Down Expand Up @@ -150,3 +150,14 @@ function c4wp_activation_redirect() {
exit( wp_safe_redirect( esc_url( $admin_url ) ) ); // phpcs:ignore
}
}

/**
* Declare compatibility with WC HPOS.
*
* @return void
*/
add_action( 'before_woocommerce_init', function() {
if ( class_exists( \Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) {
\Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', __FILE__, true );
}
} );
Loading

0 comments on commit f712dae

Please sign in to comment.