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

WordPress Trac noreply at wordpress.org
Mon Nov 3 00:07:18 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 dev-feedback  |     Focuses:
------------------------------------+------------------

Comment (by ericlewis):

 I think we should change 'context' to 'unchanged' here:

 {{{
 #!php
 $line = apply_filters( 'process_text_diff_html', htmlspecialchars( $line
 ), $line, 'context' );
 }}}

 otherwise this looks rad.

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


More information about the wp-trac mailing list