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

WordPress Trac noreply at wordpress.org
Thu Aug 1 20:41:04 UTC 2013


#24908: Proposed new filters for revisions
------------------------------------+------------------------------
 Reporter:  adamsilverstein         |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Revisions               |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+------------------------------

Comment (by adamsilverstein):

 Replying to [comment:1 DrewAPicture]:
 > +1 for some filters here.
 >
 > We should probably add a context arg to the htmlspecialchars filters
 denoting each method, such as `added`, `deleted`, or `context` since we're
 using the same filter hook in three different places.

 good idea! i was wondering about that, generally the three calls are for
 the same purpose, but i could definitely see plugin developers adding some
 specific processing for just the added, deleted or unchanged lines.

 there are also probably other spots that could use filters, i will keep
 looking;

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24908#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list