[wp-trac] Re: [WordPress Trac] #6775: Post Revisions

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 19 19:04:50 GMT 2008


#6775: Post Revisions
------------------------------------+---------------------------------------
 Reporter:  mdawaffe                |        Owner:  anonymous
     Type:  enhancement             |       Status:  new      
 Priority:  normal                  |    Milestone:  2.6      
Component:  General                 |      Version:  2.5.1    
 Severity:  normal                  |   Resolution:           
 Keywords:  revision needs-testing  |  
------------------------------------+---------------------------------------
Comment (by mdawaffe):

 > > require_once 'Text/Diff/Renderer.php';
 >
 > Is that going to be an issue on systems which do not have the wp-
 includes directory in the include search path?

 There's an ini_set() in wp_text_diff():
 http://trac.wordpress.org/browser/trunk/wp-
 includes/pluggable.php?rev=7747#L1377 and later an ini_restore().

 I don't know if that will work on all systems, but I wanted to try it
 first rather than modifying the code.  (Though I've already modified it in
 the sense that I've left out about half of the package.)

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6775#comment:7>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list