[wp-trac] [WordPress Trac] #36738: No validation for $post_date_gmt parameter
WordPress Trac
noreply at wordpress.org
Fri Sep 12 09:48:26 UTC 2025
#36738: No validation for $post_date_gmt parameter
-------------------------------------------------+-------------------------
Reporter: Latz | Owner:
| paulbonneau
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Future
| Release
Component: Posts, Post Types | Version: 3.5
Severity: normal | Resolution:
Keywords: has-test-info good-first-bug has- | Focuses:
patch has-unit-tests |
-------------------------------------------------+-------------------------
Comment (by paulbonneau):
Hello @pmbaldha,
Thank for your answers !
I'm not sure I understand what you ask me to do (not a native english
speaker sorry).
Do you want me to :
1. explain textually which tests I modified in order to cover my code
modification ?
2. add more test
=== In case 1.
I only modified existing test. Should I explain textually what was
modified and why ?
=== In case 2
Are you referring to a specific function or set of function I need to add
test for ?
Should it cover only my addition or should I broaden the scope of the
tests for this PR ?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36738#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list