Update for 5.0 branch to teachPress 5.0-beta. This is a sync with GitHub repository: https://github.com/winkm89/teachPress/commit/e03fe2d450cb8dd48d1bfd5a6ed77a90ddb35ca9

git-svn-id: https://plugins.svn.wordpress.org/teachpress/branches/5.0.x@1038352 b8457f37-d9ea-0310-8a92-e5e31aec5664