ct_get_fields_any() without links#3
Merged
Conversation
ct_get_fields_any whiout links
Add files via upload
| }else if(!is_object($value)&&@get_class($value)!='WP_User'){ | ||
| $temp=ct_get_fields_any($value, $message, $email, $nickname, $subject, $contact); | ||
| $sender_email = ($temp['email'] ? $temp['email'] : ''); |
Collaborator
There was a problem hiding this comment.
Why the $sender_email is declared, but doesn't used in the function further? Same question for $sender_nickname,$subject,$contact_form,$message.
safronik
pushed a commit
that referenced
this pull request
Feb 17, 2021
safronik
pushed a commit
that referenced
this pull request
Feb 19, 2021
safronik
pushed a commit
that referenced
this pull request
Mar 18, 2021
safronik
pushed a commit
that referenced
this pull request
Jun 4, 2021
Glomberg
added a commit
that referenced
this pull request
Jul 2, 2021
Glomberg
added a commit
that referenced
this pull request
Sep 3, 2021
Glomberg
added a commit
that referenced
this pull request
Oct 6, 2021
Glomberg
added a commit
that referenced
this pull request
Feb 28, 2022
Glomberg
added a commit
that referenced
this pull request
Apr 6, 2022
Glomberg
added a commit
that referenced
this pull request
Apr 14, 2022
alexandergull
added a commit
that referenced
this pull request
Nov 21, 2025
svfcode
added a commit
that referenced
this pull request
Nov 28, 2025
* Fix. SFW update. Flush expected networks count before files processing. https://doboard.com/1/task/36234 * Test commit for code coverage #1 * Fix. SFW update. Tables prefix updated. * Code. SFW update. PHP Unit. * Code. SFW update. PHP Unit #2. * Code. SFW update. PHP Unit #3. * Upd. WCAddToCart. Processing and adding event_token to the request wh… (#682) * Upd. WCAddToCart. Processing and adding event_token to the request when adding the product * Fix eslint * Fix. WCAddToCart. Removed the unnecessary event_token receipt, added a condition for mixing event_token if the add_to_cart option is enabled * Upd property name. --------- Co-authored-by: svfcode <svfcode@mail.ru> * Upd. TRP. Restart show badge on woo review page. * remove debug --------- Co-authored-by: alexandergull <alex.g@cleantalk.org> Co-authored-by: Alex <galyshev@cleantalk.org> Co-authored-by: AntonV1211 <39616556+AntonV1211@users.noreply.github.com>
svfcode
added a commit
that referenced
this pull request
Dec 4, 2025
* Fix. Integration. Fluentbook. Added public scripts echoing on author landing visit. https://doboard.com/1/task/34803 * Code. PHPCS. * Fix. Integrations. JS. Run dynamic forms catching on interval. * Update version * Update version * Upd. Integrations. JS. Dynamic rendered form interval clearance on window load custom events. * Upd. EmailEncoder. Added new format to encode phone numbers. https://doboard.com/1/task/36719 * Fix. Woocommerce. Exclusion for WC Stripe Apple Pay frontend request. https://doboard.com/1/task/36147 * Fix. Integration. Brick theme ajax response fixed. https://doboard.com/1/task/36432 * Fix. Integration. FunnelKit. Funnel builder action added. https://doboard.com/1/task/36747 * Fix. Integration. Ninja Forms refactored - no using `force_alt_cookies`. * Fix. WPMS. Getting and recreating personal tables on WPMS. https://doboard.com/1/task/34848 * Upd. Code. ContactsEncoder module refactoring. (#679) * New. Code. Contacts Encoder included by composer. * New. Code. Contacts Encoder included by composer #2. * Fic. Code. Contacts Encoder refactoring - start. * Fic. Code. Contacts Encoder refactoring - continue. * Fix. Code. Contacts Encoder refactoring - continue #2. * Fix. Code. Contacts Encoder refactoring - complete. * Fix. Code. Contacts Encoder refactoring - WP based code replaced. * Fix. Code. Contacts Encoder refactoring - ContactsEncoder package updated. * Fix. Code. Contacts Encoder refactoring - `byAccessKeyFail` method fixed. * Fix. Code. Contacts Encoder refactoring - Unit tests and Psalm fixed. * Fix. Code. Contact encoder commit 40e479f alternative implementation. * Fix. Contacts Encoder. Restore forgotten fix #681. * Fix. Contacts Encoder. Decoder init process replaced. * Fix. Bot detector. Set `event_token` for the different cookies types fixed. Fix. Bot detector. Set `event_token` for the different cookies types fixed. * Fix. Code. ES-Lint notice fixed. * Fix. Settings. TRP enabled by default. * New. WPRecipeMaker. Integration with WP Recipe Maker * Mod. WPRecipeMaker. Editing the blocking message * Ninja forms check email exist av (#675) * Mod. CheckEmailExist. Integration of Check Email Exist with Ninja Forms * Fix eslint * New. CheckEmailExist. Integration of Check Email Exist with Ninja Forms * Fix eslint * Upd. CheckEmailExist. Search for ::after styles to calculate the indentation --------- Co-authored-by: SVFCode <svfcode@mail.ru> * Fix. OptiPress. Editing the integration in passing the message parameter * Remove coverage.xml * Fix. WPRecipeMaker. Combining logic under one condition * Fix. SFW update. Flush expected networks count before files processing. https://doboard.com/1/task/36234 * Fix. SFW update. Tables prefix updated. * Code. SFW update. PHP Unit. * Upd. WCAddToCart. Processing and adding event_token to the request wh… (#682) * Upd. WCAddToCart. Processing and adding event_token to the request when adding the product * Fix eslint * Fix. WCAddToCart. Removed the unnecessary event_token receipt, added a condition for mixing event_token if the add_to_cart option is enabled * Upd property name. --------- Co-authored-by: svfcode <svfcode@mail.ru> * Github. New action to create assets from dev/fix on push event. * Github. New action to create assets from dev/fix on push event. * Github. New action to create assets from dev/fix on push event. * Upd. TRP. Restart show badge on woo review page. (#690) * Fix. SFW update. Flush expected networks count before files processing. https://doboard.com/1/task/36234 * Test commit for code coverage #1 * Fix. SFW update. Tables prefix updated. * Code. SFW update. PHP Unit. * Code. SFW update. PHP Unit #2. * Code. SFW update. PHP Unit #3. * Upd. WCAddToCart. Processing and adding event_token to the request wh… (#682) * Upd. WCAddToCart. Processing and adding event_token to the request when adding the product * Fix eslint * Fix. WCAddToCart. Removed the unnecessary event_token receipt, added a condition for mixing event_token if the add_to_cart option is enabled * Upd property name. --------- Co-authored-by: svfcode <svfcode@mail.ru> * Upd. TRP. Restart show badge on woo review page. * remove debug --------- Co-authored-by: alexandergull <alex.g@cleantalk.org> Co-authored-by: Alex <galyshev@cleantalk.org> Co-authored-by: AntonV1211 <39616556+AntonV1211@users.noreply.github.com> * Upd. ContactEncoder. Improve UX. (#688) * Upd. ContactEncoder. Improve UX. * Fix. Contacts encoder. Mailto links handle fixed. --------- Co-authored-by: Glomberg <bazz@bk.ru> * Fix. Helper. Correcting the error of using 'static' in string callables inside array_map since version 8.2 * Remove comment * Fix. FluentForm. The verification depends on the data__protect_logged_in and is_user_logged_in() options * Update version * Code. Github. Run tests on beta branch pushes. * Fix. FluenForm. Edit the condition depending on the data__protect_logged_in option * update common * fix psalm * Fix. Integrations. Update Woo rest checkout. * fix psalm * Fix. Integrations. Update Woo add to cart check. * Update stable tag --------- Co-authored-by: alexandergull <alex.g@cleantalk.org> Co-authored-by: Glomberg <bazz@bk.ru> Co-authored-by: AntonV1211 <antonV1211@yandex.ru> Co-authored-by: AntonV1211 <39616556+AntonV1211@users.noreply.github.com> Co-authored-by: Alex <galyshev@cleantalk.org>
svfcode
added a commit
that referenced
this pull request
Dec 8, 2025
* Fix. Integration. Fluentbook. Added public scripts echoing on author landing visit. https://doboard.com/1/task/34803 * Code. PHPCS. * Fix. Integrations. JS. Run dynamic forms catching on interval. * Update version * Update version * Upd. Integrations. JS. Dynamic rendered form interval clearance on window load custom events. * Upd. EmailEncoder. Added new format to encode phone numbers. https://doboard.com/1/task/36719 * Fix. Woocommerce. Exclusion for WC Stripe Apple Pay frontend request. https://doboard.com/1/task/36147 * Fix. Integration. Brick theme ajax response fixed. https://doboard.com/1/task/36432 * Fix. Integration. FunnelKit. Funnel builder action added. https://doboard.com/1/task/36747 * Fix. Integration. Ninja Forms refactored - no using `force_alt_cookies`. * Fix. WPMS. Getting and recreating personal tables on WPMS. https://doboard.com/1/task/34848 * Upd. Code. ContactsEncoder module refactoring. (#679) * New. Code. Contacts Encoder included by composer. * New. Code. Contacts Encoder included by composer #2. * Fic. Code. Contacts Encoder refactoring - start. * Fic. Code. Contacts Encoder refactoring - continue. * Fix. Code. Contacts Encoder refactoring - continue #2. * Fix. Code. Contacts Encoder refactoring - complete. * Fix. Code. Contacts Encoder refactoring - WP based code replaced. * Fix. Code. Contacts Encoder refactoring - ContactsEncoder package updated. * Fix. Code. Contacts Encoder refactoring - `byAccessKeyFail` method fixed. * Fix. Code. Contacts Encoder refactoring - Unit tests and Psalm fixed. * Fix. Code. Contact encoder commit 40e479f alternative implementation. * Fix. Contacts Encoder. Restore forgotten fix #681. * Fix. Contacts Encoder. Decoder init process replaced. * Fix. Bot detector. Set `event_token` for the different cookies types fixed. Fix. Bot detector. Set `event_token` for the different cookies types fixed. * Fix. Code. ES-Lint notice fixed. * Fix. Settings. TRP enabled by default. * New. WPRecipeMaker. Integration with WP Recipe Maker * Mod. WPRecipeMaker. Editing the blocking message * Ninja forms check email exist av (#675) * Mod. CheckEmailExist. Integration of Check Email Exist with Ninja Forms * Fix eslint * New. CheckEmailExist. Integration of Check Email Exist with Ninja Forms * Fix eslint * Upd. CheckEmailExist. Search for ::after styles to calculate the indentation --------- Co-authored-by: SVFCode <svfcode@mail.ru> * Fix. OptiPress. Editing the integration in passing the message parameter * Remove coverage.xml * Fix. WPRecipeMaker. Combining logic under one condition * Fix. SFW update. Flush expected networks count before files processing. https://doboard.com/1/task/36234 * Fix. SFW update. Tables prefix updated. * Code. SFW update. PHP Unit. * Upd. WCAddToCart. Processing and adding event_token to the request wh… (#682) * Upd. WCAddToCart. Processing and adding event_token to the request when adding the product * Fix eslint * Fix. WCAddToCart. Removed the unnecessary event_token receipt, added a condition for mixing event_token if the add_to_cart option is enabled * Upd property name. --------- Co-authored-by: svfcode <svfcode@mail.ru> * Github. New action to create assets from dev/fix on push event. * Github. New action to create assets from dev/fix on push event. * Github. New action to create assets from dev/fix on push event. * Upd. TRP. Restart show badge on woo review page. (#690) * Fix. SFW update. Flush expected networks count before files processing. https://doboard.com/1/task/36234 * Test commit for code coverage #1 * Fix. SFW update. Tables prefix updated. * Code. SFW update. PHP Unit. * Code. SFW update. PHP Unit #2. * Code. SFW update. PHP Unit #3. * Upd. WCAddToCart. Processing and adding event_token to the request wh… (#682) * Upd. WCAddToCart. Processing and adding event_token to the request when adding the product * Fix eslint * Fix. WCAddToCart. Removed the unnecessary event_token receipt, added a condition for mixing event_token if the add_to_cart option is enabled * Upd property name. --------- Co-authored-by: svfcode <svfcode@mail.ru> * Upd. TRP. Restart show badge on woo review page. * remove debug --------- Co-authored-by: alexandergull <alex.g@cleantalk.org> Co-authored-by: Alex <galyshev@cleantalk.org> Co-authored-by: AntonV1211 <39616556+AntonV1211@users.noreply.github.com> * Upd. ContactEncoder. Improve UX. (#688) * Upd. ContactEncoder. Improve UX. * Fix. Contacts encoder. Mailto links handle fixed. --------- Co-authored-by: Glomberg <bazz@bk.ru> * Fix. Helper. Correcting the error of using 'static' in string callables inside array_map since version 8.2 * Remove comment * Fix. FluentForm. The verification depends on the data__protect_logged_in and is_user_logged_in() options * Update version * Code. Github. Run tests on beta branch pushes. * Fix. FluenForm. Edit the condition depending on the data__protect_logged_in option * update common * fix psalm * Fix. Integrations. Update Woo rest checkout. * fix psalm * Fix. Integrations. Update Woo add to cart check. * Update stable tag * Fix. Integrations. Update Woo add to cart check. * Update version and changelog * fix eslint --------- Co-authored-by: alexandergull <alex.g@cleantalk.org> Co-authored-by: Glomberg <bazz@bk.ru> Co-authored-by: AntonV1211 <antonV1211@yandex.ru> Co-authored-by: AntonV1211 <39616556+AntonV1211@users.noreply.github.com> Co-authored-by: Alex <galyshev@cleantalk.org>
svfcode
added a commit
that referenced
this pull request
Dec 16, 2025
* Fix. SFW update. Flush expected networks count before files processing. https://doboard.com/1/task/36234 * Test commit for code coverage #1 * Fix. SFW update. Tables prefix updated. * Code. SFW update. PHP Unit. * Code. SFW update. PHP Unit #2. * Code. SFW update. PHP Unit #3. * Upd. Integrations. Added precheck email for gravity forms. * Upd. WCAddToCart. Processing and adding event_token to the request wh… (#682) * Upd. WCAddToCart. Processing and adding event_token to the request when adding the product * Fix eslint * Fix. WCAddToCart. Removed the unnecessary event_token receipt, added a condition for mixing event_token if the add_to_cart option is enabled * Upd property name. --------- Co-authored-by: svfcode <svfcode@mail.ru> * add test * fix psalm --------- Co-authored-by: alexandergull <alex.g@cleantalk.org> Co-authored-by: Alex <galyshev@cleantalk.org> Co-authored-by: AntonV1211 <39616556+AntonV1211@users.noreply.github.com>
alexandergull
added a commit
that referenced
this pull request
Jan 19, 2026
Glomberg
added a commit
that referenced
this pull request
Jan 27, 2026
Glomberg
added a commit
that referenced
this pull request
Jan 27, 2026
alexandergull
added a commit
that referenced
this pull request
Feb 21, 2026
Glomberg
added a commit
that referenced
this pull request
Apr 14, 2026
Glomberg
added a commit
that referenced
this pull request
Apr 14, 2026
Glomberg
added a commit
that referenced
this pull request
Apr 14, 2026
Glomberg
added a commit
that referenced
this pull request
Apr 14, 2026
Glomberg
added a commit
that referenced
this pull request
Apr 14, 2026
Glomberg
added a commit
that referenced
this pull request
Apr 20, 2026
* Upd. Integration. HivePress forms protection improved. (#746) * Upd. Integration. HivePress forms protection improved. * New. Integration. Hivepress registrations protection implemented (#752) * New. Integration. Hivepress registrations protection implemented. * Fix. Integration. Hivepress registrations protection fixed. * Fix. Check email existence. Icon layout fixed for integration `Hivepress`. * Fix. Code. Unit tests for #746 added #1. * Fix. CI/CD. GitHub action for testing added. * Fix. Code. Unit tests for #746 added #2. * Fix. Code. Unit tests for #746 fixed - coverage exclusions. * Revert "Fix. Code. Unit tests for #746 fixed - coverage exclusions." This reverts commit 9c2ba92. * Fix. Code. Unit tests for #746 added #3. * Fix. Code. Unit tests for #746 fixed #3. * Fix. Code. Unit tests for #746 fixed #3. * Fix. Code. Unit tests for #746 fixed #3. * Fix. Code. Unit tests for #746 fixed #3. * Fix. Code. Code style fixed. * Fix. Code. Revert unit test `TestCleantalkIntegrationsByRoute` because not increased coverage.
Glomberg
added a commit
that referenced
this pull request
Apr 29, 2026
Glomberg
added a commit
that referenced
this pull request
Apr 29, 2026
* Upd. Settings. `Bot Detector` setting - bot-detector setting removed. (#760) * Upd. Settings. `Bot Detector` setting - added constant. * Upd. Settings. `Bot Detector` setting - setting to data migration added. * Upd. Settings. `Bot Detector` setting - wrapper for bot-detector state checking added. * Upd. Settings. `Bot Detector` setting - bot-detector state checking replaced by wrapper. * Upd. Settings. `Bot Detector` setting - bot-detector setting removed. * Upd. Settings. `Bot Detector` setting - actual state displayed in the `Summary`. * Upd. Settings. `Bot Detector` setting - bot-detector state checking replaced by wrapper #2. * Upd. Code. JS re-minified. * Fix. Settings. Bot-Detector summary description fixed. * Fix. Code. Unit tests fixed: `TestFluentForms`, `TestNinjaForms`. * Fix. Code. Unit test added: `TestCleantalkSettings`. * Fix. Code. Unit test added: `TestSummaryAndSupportRenderer`. * Fix. Code. JS re-minified. * Fix. Code. Unit tests for #760 added. * Fix. CI/CD. GitHub action for testing added. * Fix. Code. Unit tests fixed. * Fix. Code. Unit tests for #760 added #2. * Fix. Code. Unit test for `apbct__is_bot_detector_enabled` fixed. * Fix. Code. Unit test for `apbct__is_bot_detector_enabled` fixed #2. * Fix. Code. Github action fixed. * Fix. Code. Unit test for `apbct__is_bot_detector_enabled` fixed #3. * Fix. Code. Unit test `TestCleantalkSettings` fixed. * Fix. Code. Unit test `TestCleantalkSettings` fixed #2. * Fix. Code. Unit test `TestCleantalkPublic` added. * Fix. Code. Unit test `TestCleantalkPublic` updated. * Fix. Code. Unit test `TestCleantalkPublic` updated #2. * Fix. Code. Unit tests `TestCtPublicFunctionsLocalize` and `TestCtPublicLocalize` added.
Glomberg
added a commit
that referenced
this pull request
Apr 29, 2026
* Upd. Settings. `Bot Detector` setting - bot-detector setting removed. (#760) * Upd. Settings. `Bot Detector` setting - added constant. * Upd. Settings. `Bot Detector` setting - setting to data migration added. * Upd. Settings. `Bot Detector` setting - wrapper for bot-detector state checking added. * Upd. Settings. `Bot Detector` setting - bot-detector state checking replaced by wrapper. * Upd. Settings. `Bot Detector` setting - bot-detector setting removed. * Upd. Settings. `Bot Detector` setting - actual state displayed in the `Summary`. * Upd. Settings. `Bot Detector` setting - bot-detector state checking replaced by wrapper #2. * Upd. Code. JS re-minified. * Fix. Settings. Bot-Detector summary description fixed. * Fix. Code. Unit tests fixed: `TestFluentForms`, `TestNinjaForms`. * Fix. Code. Unit test added: `TestCleantalkSettings`. * Fix. Code. Unit test added: `TestSummaryAndSupportRenderer`. * Fix. Code. JS re-minified. * Fix. Code. Unit tests for #760 added. * Fix. CI/CD. GitHub action for testing added. * Fix. Code. Unit tests fixed. * Fix. Code. Unit tests for #760 added #2. * Fix. Code. Unit test for `apbct__is_bot_detector_enabled` fixed. * Fix. Code. Unit test for `apbct__is_bot_detector_enabled` fixed #2. * Fix. Code. Github action fixed. * Fix. Code. Unit test for `apbct__is_bot_detector_enabled` fixed #3. * Fix. Code. Unit test `TestCleantalkSettings` fixed. * Fix. Code. Unit test `TestCleantalkSettings` fixed #2. * Fix. Code. Unit test `TestCleantalkPublic` added. * Fix. Code. Unit test `TestCleantalkPublic` updated. * Fix. Code. Unit test `TestCleantalkPublic` updated #2. * Fix. Code. Unit tests `TestCtPublicFunctionsLocalize` and `TestCtPublicLocalize` added.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Now it works like this
$arr = ct_get_fields_any($arr, $message=array(), $email=NULL, $nickname=NULL, $subject=NULL, $contact=true);