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

WordPress Trac noreply at wordpress.org
Wed Nov 19 23:20:09 UTC 2014


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

 * owner:   => johnbillion
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"30396"]:
 {{{
 #!CommitTicketReference repository="" revision="30396"
 Introduce two new filters to the post revisions screen:

  * `process_text_diff_html` for contextually filtering a diffed line.
 Allows for the line to be processed in a different manner to the default
 `htmlspecialchars`.
  * `revision_text_diff_options` for filtering the options passed to
 `wp_text_diff()` when viewing a post revision.

 Fixes #24908
 Props adamsilverstein
 }}}

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


More information about the wp-trac mailing list