I want to prevent child pages from showing up in the sidebar list, i edited widgets.php and added depth=1 in function widget_pages
'wp_list_pages("title_li=&depth=1");'
but they still show up, so I renamed the function to widget_pages2 to see if that prevented pages from showing uo, but they still did, so i deleted the entire function and the STILL show up.
That makes me think that function is being ignored, what else can i do to check why the depth=1 argument isn't being recieved.