TOPEKA, Kan. (AP) — Kansas legislators passed an education funding plan Friday night after top Republicans rewrote it to gain broad, bipartisan support so that it would satisfy a court mandate and end a looming threat that public schools across the state might shut down.