[wp-trac] [WordPress Trac] #39256: REST API: Multiple issues with setting dates of posts

WordPress Trac noreply at wordpress.org
Mon Feb 20 23:49:25 UTC 2017


#39256: REST API: Multiple issues with setting dates of posts
--------------------------------------+-----------------------
 Reporter:  jnylen0                   |       Owner:  jnylen0
     Type:  defect (bug)              |      Status:  accepted
 Priority:  normal                    |   Milestone:  4.7.3
Component:  REST API                  |     Version:  4.7
 Severity:  major                     |  Resolution:
 Keywords:  has-unit-tests has-patch  |     Focuses:
--------------------------------------+-----------------------

Comment (by jnylen0):

 [attachment:39256.4.diff] is ready for commit, but it would be nice to
 modify `rest_get_date_with_gmt` in place rather than deprecating it.  I
 think this should be fine, @dd32 do you agree?

 Plugin usage is very light:

 {{{
 Matches  Plugin                             Active installs
 =======  ======                             ===============
       4  rest-api                                   40,000+
       4  wptoandroid                                    30+
       5  custom-contact-forms                       60,000+
       2  appmaker-wp-mobile-app-manager                 50+
       4  appmaker-woocommerce-mobile-app-manager       200+
 }}}

 The `rest-api` plugin is a no-op in 4.7+, and the `custom-contact-forms`
 plugin [https://plugins.trac.wordpress.org/browser/custom-contact-
 forms/tags/7.8.5/classes/class-ccf-custom-contact-forms.php#L144 does not
 load the API endpoints in 4.7+].

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


More information about the wp-trac mailing list