-
Notifications
You must be signed in to change notification settings - Fork 800
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
Contact Form: Add IP & date to CSV Export #14304
Conversation
add feedback ip & date to csv export
Thank you for the great PR description! When this PR is ready for review, please apply the Scheduled Jetpack release: January 14, 2020. |
Thanks for the contribution. Unit Tests are currently failing with your change:
You'll consequently need to update the test to take your changes into account. Could you also add testing instructions to your Pull Request's description? Thank you! |
total expected data keys now = 8
ok, fixed test...not sure about instructions |
Thanks @airdrummer. With instructions, they don't need to be complex, but something like:
Enough so a reviewer can know the expected path on exposing the new feature. |
ok, thanx, kraftbj...not sure if my hacks r the most efficient way to add ip & datestamp, and my definition of metadata seems 2 b different from wordpress's;-} but it fixes a severe deficiency in export. curiously, if you have 2 different contact forms & export separately, the field order is reversed but idk as long as the metadata is complete;-) |
Pushed up a commit to fix the PHPCS violations. |
A couple more minor things that I added suggestions for, but I think we can aim to land this in 8.2. |
protect against uset IP Co-Authored-By: Brandon Kraft <public@brandonkraft.com>
use unambiguous date format Co-Authored-By: Brandon Kraft <public@brandonkraft.com>
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.
This seems to test well for me. 👍
Caution: This PR has changes that must be merged to WordPress.com |
201495-wpcom |
* [not verified] Remove empty readme section * Initial changelog for 8.2 * Changelog: add #14220 * Changelog: add #14252 * Changelog: add #14291 * Changelog: add #14309 * Changelog: add #14304 * Changelog: add general connection log. * Changelog: add #14275 * Changelog: add #14313 * Changelog: add #14213 * Changelog: add #14357 * Add sync testing instructions * Add 8.1.1 changelog back See eeaafab and 61757eb * Changelog: add #14371 * Changelog: add #14386 * Changelog: add #14471 * Changelog: add #14325 * Changelog: add #14194 * Changelog: add #14340 * Changelog: add #14418 * Changelog: add #14417 * Changelog: add #14075 * Changelog: add #14467 * Changelog: add #14307 * Changelog: add #14326
Fixes #
Changes proposed in this Pull Request:
add feedback ip & date to csv export
Testing instructions:
Proposed changelog entry for your changes:
add feedback ip & date to csv export