Whitespace cleanup.

Props dimadin
fixes #23126
Declare wp_rewrite as global in _wp_menu_item_classes_by_context().

Props andrewryno
fixes #7337