kick up version

parent 5dade490
......@@ -47,7 +47,7 @@ if(!class_exists('SexHackMe_Plugin')) {
public function __construct()
{
define( 'SH_VERSION', '0.0.1' );
define( 'SH_VERSION', '0.0.2' );
define( 'SH_PLUGIN_DIR_PATH', plugin_dir_path( __FILE__ ) );
define( 'SH_PLUGIN_DIR_URL', plugin_dir_url( __FILE__ ) );
define( 'SH_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
......
......@@ -36,6 +36,12 @@ if(!$sh_video) {
}
$video = sh_get_video_from_slug($sh_video);
if(!$video)
{
wp_redirect(get_permalink(get_option('sexhack_video404_page', '0')));
exit ;
}
get_header(); ?>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment