[wp-trac] [WordPress Trac] #10593: Revions Filter

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 12 06:37:46 UTC 2009


#10593: Revions Filter
-----------------------------+----------------------------------------------
 Reporter:  butuzov          |       Owner:                
     Type:  feature request  |      Status:  new           
 Priority:  normal           |   Milestone:  Future Release
Component:  Revisions        |     Version:  2.8.3         
 Severity:  normal           |    Keywords:                
-----------------------------+----------------------------------------------
 Is it posible to add new filter  get_post_revision ?

 for '''diff'''


 {{{
 $left_revision = apply_filters('get_post_revision', $left_revision);
 $right_revision     = apply_filters('get_post_revision', $right_revision);
 }}}


 for '''view'''


 {{{
 $revision = apply_filters('get_post_revision', $revision);
 $post     = apply_filters('get_post_revision', $post);
 }}}


 that will help to filter variables for diff (i want to use revisions for
 creating additional data) and i think that would be usefull...
 no really...
 currently there is no way (only change revisions.php manualy) to change
 variables in post. and its as i remamber from 2.6.. there are no such way
 =(

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10593>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list