Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
WordPress_SexHackMe_Plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SexHackMe
WordPress_SexHackMe_Plugin
Commits
31b5ea65
Commit
31b5ea65
authored
Jul 24, 2022
by
Franco (nextime) Lanza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kick up version
parent
5dade490
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
sexhackme.php
sexhackme.php
+1
-1
video.php
templates/video.php
+6
-0
No files found.
sexhackme.php
View file @
31b5ea65
...
...
@@ -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__
)
);
...
...
templates/video.php
View file @
31b5ea65
...
...
@@ -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
();
?>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment