Prepared for WordPress 4.0, Added Doc-Blocks, Fixed bug in redirection