[wp-trac] [WordPress Trac] #38943: Customize changeset API issue with post date

WordPress Trac noreply at wordpress.org
Fri Dec 2 00:01:54 UTC 2016


#38943: Customize changeset API issue with post date
-------------------------------------------+--------------------------
 Reporter:  utkarshpatel                   |       Owner:  westonruter
     Type:  defect (bug)                   |      Status:  closed
 Priority:  low                            |   Milestone:  4.7
Component:  Customize                      |     Version:  trunk
 Severity:  normal                         |  Resolution:  fixed
 Keywords:  has-patch commit dev-reviewed  |     Focuses:
-------------------------------------------+--------------------------
Changes (by westonruter):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"39409"]:
 {{{
 #!CommitTicketReference repository="" revision="39409"
 Customize: Reject a changeset update when a non-future date is provided
 and also ensure that a published changeset always gets set to the current
 date/time.

 * Also moves checks from `customize_save` Ajax handler to the underlying
 `WP_Customize_Manager::save_changeset_post()` call which plugins may
 invoke directly.
 * Ensures that `customize_save_response` filter is always passed an array,
 with error code available as `code`.

 Props utkarshpatel, westonruter, sayedwp.
 See #30937.
 Fixes #38943.
 }}}

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


More information about the wp-trac mailing list