wp-includes Text Diff Renderer.php

One is_a

class Text_Diff_Renderer {
.....
	function render($diff)
.....
//		if (is_a($edit, 'Text_Diff_Op_copy')) {
		$class_name = 'Text_Diff_Op_copy';
		if ( ( get_class($edit) == $class_name )
		 || is_subclass_of($edit, $class_name) ) {
Technorati Tags: ,

One Trackback

  1. By the Mittineague Blog -> is_a Conclusion on July 29, 2009 at 6:33 pm

    […] wp-includes/Text/Diff/Renderer.php […]