wp-includes widgets.php

Only 1 is_a

function the_widget($widget, $instance = array(), $args = array()) {
.....
//	if ( !is_a($widget_obj, 'WP_Widget') )
	$class_name = 'WP_Widget';
	if ( ( get_class($widget_obj) != $class_name )
	 && !is_subclass_of($widget_obj, $class_name) )
Technorati Tags: ,

Post a Comment

Your email is never shared. Required fields are marked *

*
*