-
Notifications
You must be signed in to change notification settings - Fork 191
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
Remove Parameter the unwanted parameter #2663 #2687
Merged
ravinderk
merged 15 commits into
impress-org:release/2.0.2
from
raftaar1191:issues-2663
Jan 29, 2018
Merged
Changes from 14 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
5143da5
Remove Paramter that was being passed as from #2663
raftaar1191 a765727
Add clarity to docs
Benunc b3dacd3
update object type variable
tw2113 1df4655
remove unneeded period after a variable.
tw2113 e0cd6ae
update phpdoc to reflect actual default value
tw2113 29f64b7
update phpdoc to reflect multiple possible variable types
tw2113 93cf59c
update phpdoc to reflect multiple possible variable types
tw2113 5be2fe4
update phpdoc to reflect multiple possible variable types
tw2113 83cbd56
update phpdoc to reflect multiple possible variable types
tw2113 30a6dbe
update phpdoc to reflect proper default value
tw2113 e44e224
update phpdoc to reflect multiple possible variable types
tw2113 54de13a
update phpdoc to reflect multiple possible variable types
tw2113 bd448c5
rename "customer_id" variables to a better fit of "donor_id"
tw2113 a766df3
Merge branch 'release/2.0.2' of github.com:WordImpress/Give into issu…
raftaar1191 5d8fcb8
Merge branch 'release/2.0.2' of github.com:WordImpress/Give into issu…
raftaar1191 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
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.
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.
@raftaar1191 Do not need to create
$data
param please use$_POST
directly with validationThere 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.
Here we are updating the $data and then adding that to DB
That why I am adding $_POST value to $data variable
https://github.com/WordImpress/Give/blob/release/2.0.2/includes/process-donation.php#L1188
https://github.com/WordImpress/Give/blob/release/2.0.2/includes/process-donation.php#L1205
I can update this function but I don't think it's needed. Let me know if you want to to updated it