[wp-trac] [WordPress Trac] #24908: Proposed new filters/hooks for revisions

WordPress Trac noreply at wordpress.org
Wed Nov 19 23:15:50 UTC 2014


#24908: Proposed new filters/hooks for revisions
------------------------------+------------------
 Reporter:  adamsilverstein   |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  4.1
Component:  Revisions         |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:
------------------------------+------------------
Changes (by johnbillion):

 * keywords:  has-patch dev-feedback => has-patch commit


Comment:

 [attachment:24908.5.diff] is a final pass at this.

  * Use `revision_text_diff_options` as the text diff options filter name
  * Add some more context parameters to the above
  * Use `unchanged` instead of `context` for the `process_text_diff_html`
 filter context, along with `added` and `deleted`

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


More information about the wp-trac mailing list