[wp-trac] [WordPress Trac] #36738: No validation for $post_date_gmt parameter

WordPress Trac noreply at wordpress.org
Sat Aug 30 18:33:52 UTC 2025


#36738: No validation for $post_date_gmt parameter
-------------------------------------------------+-------------------------
 Reporter:  Latz                                 |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:
Component:  Posts, Post Types                    |     Version:  3.5
 Severity:  normal                               |  Resolution:
 Keywords:  needs-testing has-test-info good-    |     Focuses:
  first-bug                                      |
-------------------------------------------------+-------------------------
Changes (by SirLouen):

 * keywords:  has-patch => needs-testing has-test-info good-first-bug
 * version:  4.5.1 => 3.5


Comment:

 Looking at the current code, I think this has not been fixed yet.

 The patch is not completely valid, ideally we should be refactoring the
 code to use the current version of `wp_resolve_post_date` to serve for
 both versions (if reproducible)

 If anyone wants to do a patch, please, first do a reproduction report
 before sending the patch.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/36738#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list