This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Sets/overwrites the super-admin user-id in the e-signature cache. | |
| * | |
| * Allows editing documents and saving documents as PDF, | |
| * but not previewing documents in draft or viewing signed documents in the browser. | |
| */ | |
| function bh_set_esig_super_admin() { | |
| /** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // For: WP Facebook Login for WordPress | |
| // https://wordpress.org/plugins/wp-facebook-login/ | |
| // Save in child theme folder | |
| // If adblock is enabled, the Facebook login button will never appear, so show a message | |
| document.addEventListener("DOMContentLoaded", function(event) { | |
| // When to check | |
| var afterMilliseconds = 10000; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/includes/callback.php b/includes/callback.php | |
| index 81ca282..39b15db 100644 | |
| --- a/includes/callback.php | |
| +++ b/includes/callback.php | |
| @@ -74,13 +74,22 @@ if ( isset( $_GET['code'] ) && ! empty( $_GET['code'] ) ) { | |
| $user_info = json_decode( $response['body'] ); | |
| $user_id = username_exists( $user_info->user_login ); | |
| if ( ! $user_id && email_exists( $user_info->user_email ) == false ) { | |
| - | |
| + |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/includes/callback.php b/includes/callback.php | |
| index 81ca282..abe992f 100644 | |
| --- a/includes/callback.php | |
| +++ b/includes/callback.php | |
| @@ -74,13 +74,20 @@ if ( isset( $_GET['code'] ) && ! empty( $_GET['code'] ) ) { | |
| $user_info = json_decode( $response['body'] ); | |
| $user_id = username_exists( $user_info->user_login ); | |
| if ( ! $user_id && email_exists( $user_info->user_email ) == false ) { | |
| - | |
| + |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/includes/class-wp-user-avatar-functions.php b/includes/class-wp-user-avatar-functions.php | |
| index 2a89f4d..fd694e1 100644 | |
| --- a/includes/class-wp-user-avatar-functions.php | |
| +++ b/includes/class-wp-user-avatar-functions.php | |
| @@ -409,7 +409,8 @@ class WP_User_Avatar_Functions { | |
| if(!$wpua_functions->wpua_has_gravatar($id_or_email) && $avatar_default == 'wp_user_avatar') { | |
| // Show custom Default Avatar | |
| if(!empty($wpua_avatar_default) && $wpua_functions->wpua_attachment_is_image($wpua_avatar_default)) { | |
| - $wpua_avatar_default_image = $wpua_functions->wpua_get_attachment_image_src($wpua_avatar_default, array($size,$size)); | |
| + $size_numeric_w_x_h = array( get_option( $size . '_size_w' ), get_option( $size . '_size_h' ) ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/utils/class.WpdiscuzEmailHelper.php b/utils/class.WpdiscuzEmailHelper.php | |
| index c11833c..5cc8da1 100644 | |
| --- a/utils/class.WpdiscuzEmailHelper.php | |
| +++ b/utils/class.WpdiscuzEmailHelper.php | |
| @@ -7,6 +7,10 @@ if (!defined('ABSPATH')) { | |
| class WpdiscuzEmailHelper { | |
| private $optionsSerialized; | |
| + | |
| + /** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // Save in your child theme and add in your functions.php: | |
| // require_once('bh_expected_delivery_time.php'); | |
| add_action( 'woocommerce_product_options_shipping', 'bh_expected_delivery_time_field' ); | |
| function bh_expected_delivery_time_field() { | |
| // Print a custom text field | |
| woocommerce_wp_text_input( array( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/sb-woocommerce-email-verification.php b/sb-woocommerce-email-verification.php | |
| index c4e504c..7fca8ac 100755 | |
| --- a/sb-woocommerce-email-verification.php | |
| +++ b/sb-woocommerce-email-verification.php | |
| @@ -3,7 +3,7 @@ | |
| Plugin Name: SB WooCommerce Email Verification | |
| Description: Force customers to verify account before login. Reduce spam users. | |
| Plugin URI: http://codecanyon.net/user/sbthemes/portfolio?ref=sbthemes | |
| - Version: 1.4.1 | |
| + Version: 1.5 |