Changeset 2183997
- Timestamp:
- 10/31/2019 04:26:06 PM (6 years ago)
- Location:
- download-sender/trunk/includes/admin
- Files:
-
- 2 edited
-
class-ajax-request.php (modified) (1 diff)
-
class-options.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
download-sender/trunk/includes/admin/class-ajax-request.php
r2183907 r2183997 248 248 $to = isset($data['to_email']) ? $data['to_email'] : sanitize_email($_POST['email_address']); 249 249 250 $hide_to_logged = $options->get_option('hide_for_logged'); 251 if ( $hide_to_logged == true && is_user_logged_in() ) { 252 $enable_recaptcha = false; 253 } 254 250 255 // Check if user was not verified by recaptcha. 251 256 if ( is_downloadsender_premium_activated() && $enable_recaptcha == true ) { -
download-sender/trunk/includes/admin/class-options.php
r2183907 r2183997 38 38 'disable_logs' => false, 39 39 'enable_recaptcha' => false, 40 'hide_for_logged' => false, 40 41 'downloads_page' => get_home_url().'/ds-downloads', 41 42 'wrong_file' => __('Sorry, something went wrong!', 'download-sender'),
Note: See TracChangeset
for help on using the changeset viewer.