[wp-trac] [WordPress Trac] #26798: While inserting a post some values for 'post_date' throw a PHP exception

WordPress Trac noreply at wordpress.org
Wed Jul 13 13:59:00 UTC 2022


#26798: While inserting a post some values for 'post_date' throw a PHP exception
-------------------------------------------------+-------------------------
 Reporter:  mobius5150                           |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Date/Time                            |     Version:  3.5
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests changes-    |     Focuses:
  requested                                      |
-------------------------------------------------+-------------------------
Changes (by desrosj):

 * keywords:  has-patch needs-refresh needs-unit-tests => has-patch has-
     unit-tests changes-requested


Comment:

 THanks @johnregan3!

 Could you adjust the `test_wp_resolve_post_date_regex()` test to use a
 [https://make.wordpress.org/core/handbook/testing/automated-testing
 /writing-phpunit-tests/#repetitive-tests data provider instead]?

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


More information about the wp-trac mailing list