Thanks for replies.
One of the files they wish me change is class.php from /includes
I did a dif on it and they have removed this code:
///Code removed////
$taxonomy_query_vars = array();
foreach ( $GLOBALS['wp_taxonomies'] as $taxonomy => $t )
if ( isset($t->query_var) )
$taxonomy_query_vars[$t->query_var] = $taxonomy;
if ( in_array( $wpvar, $taxonomy_query_vars ) ) {
$this->query_vars['taxonomy'] = $taxonomy_query_vars[$wpvar];
$this->query_vars['term'] = $this->query_vars[$wpvar];
}
}
$num_elements =
for ( $i = 0; $i < $num_elements; $i++ ) {
$num_elements--;
/// end code removed ///
They also added two large chunks of code, here is one:
// ########################################################## Middle content ####################################################
class Walker_Page_middle extends Walker {
var $tree_type = 'page';
var $db_fields = array ('parent' => 'post_parent', 'id' => 'ID'); //TODO: decouple this
function start_lvl(&$output, $depth) {
$indent = str_repeat("\t", $depth);
$output .= "\n$indent
<ul>\n";
}
function end_lvl(&$output, $depth) {
$indent = str_repeat("\t", $depth);
$output .= "$indent</ul>
\n";
}
function start_el(&$output, $page, $depth, $current_page, $args) {
if ( $depth )
$indent = str_repeat("\t", $depth);
else
$indent = '';
extract($args, EXTR_SKIP);
$css_class = 'page_item page-item-'.$page->ID;
if ( !empty($current_page) ) {
$_current_page = get_page( $current_page );
if ( in_array($page->ID, (array) $_current_page->ancestors) )
$css_class .= ' current_page_ancestor';
if ( $page->ID == $current_page )
$css_class .= ' current_page_item';
elseif ( $_current_page && $page->ID == $_current_page->post_parent )
$css_class .= ' current_page_parent';
}
if($page->post_parent>0)
{
$output .= $indent . '<a>ID) . '" title="' . attribute_escape(apply_filters('the_title', $page->post_title)) . '">' . apply_filters('the_title', $page->post_title) . '</a>';
}
if ( !empty($show_date) ) {
if ( 'modified' == $show_date )
$time = $page->post_modified;
else
$time = $page->post_date;
$output .= " " . mysql2date($date_format, $time);
}
}
function end_el(&$output, $page, $depth) {
$output .= "\n";
}
}
// #######################################################################################
How, if at all, would this affect wordpress-mu?
PS i will not be accepting any theme that requires editing of system files.