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

WordPress Trac noreply at wordpress.org
Fri Dec 2 00:07:02 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:
-------------------------------------------+--------------------------

Comment (by westonruter):

 In [changeset:"39410"]:
 {{{
 #!CommitTicketReference repository="" revision="39410"
 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.
 Merges [39409] into 4.7 branch.
 See #30937.
 Fixes #38943 for 4.7.
 }}}

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


More information about the wp-trac mailing list