[wp-trac] [WordPress Trac] #30232: Allow $revisions to be passed explicitly to wp_prepare_revisions_for_js()

WordPress Trac noreply at wordpress.org
Sat Nov 1 21:16:21 UTC 2014


#30232: Allow $revisions to be passed explicitly to wp_prepare_revisions_for_js()
------------------------------------------------+--------------------------
 Reporter:  ericlewis                           |       Owner:
     Type:  enhancement                         |      Status:  new
 Priority:  normal                              |   Milestone:  Awaiting
Component:  Revisions                           |  Review
 Severity:  normal                              |     Version:  3.6
 Keywords:  has-patch 2nd-opinion dev-feedback  |  Resolution:
                                                |     Focuses:  javascript
------------------------------------------------+--------------------------
Changes (by ericlewis):

 * keywords:   => has-patch 2nd-opinion dev-feedback


Comment:

 In attachment:30232.diff, move wp_prepare_revisions_for_js() to accept an
 array hash instead of a string of arguments with full back-compat.

 Allow for revisions to be provided in the hash.

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


More information about the wp-trac mailing list