[wp-trac] [WordPress Trac] #28627: wp_prepare_revisions_for_js Should have more hooks/filters.
WordPress Trac
noreply at wordpress.org
Wed Jun 25 13:09:25 UTC 2014
#28627: wp_prepare_revisions_for_js Should have more hooks/filters.
----------------------------------------+-----------------------------
Reporter: jtsternberg | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Revisions | Version: trunk
Severity: normal | Keywords:
Focuses: javascript, administration |
----------------------------------------+-----------------------------
Specifically, the array at the end should be passed through a filter then
use wp_parse_args to ensure the correct parameters are correct. This would
be useful for infusing more data to the models (i.e. post-meta for
revisions, see this stackexchange:
http://wordpress.stackexchange.com/questions/151630/how-to-hook-in-and-
modify-the-new-revisions-ui-3-6). We still need a more WordPress way to
tap into the Backbone views for the revisions UI as well.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28627>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list