-
Notifications
You must be signed in to change notification settings - Fork 7
ct_get_fields_any() without links #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
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
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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>
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);