WP-2879 Moving the admin course filtering to .admin.inc file.