Modified fetch_wordpress_code to ignore uploads directory