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
8ed731f1
Commit
8ed731f1
authored
Jul 07, 2022
by
Stefy Lanza (nextime / spora )
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add (tmp?) SEXHACKDEBUG on template video.php selection
parent
34c08fbe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
sexhack_gallery.php
classes/sexhack_gallery.php
+6
-4
No files found.
classes/sexhack_gallery.php
View file @
8ed731f1
...
...
@@ -161,13 +161,15 @@ if(!class_exists('SexHackVideoGallery')) {
}
public
function
sexhack_video_template
(
$template
)
{
{
$template
=
'video.php'
;
if
(
isset
(
$GET
[
'SEXHACKDEBUG'
]))
$template
=
'newvideo.php'
;
$is_sexhack_video
=
get_query_var
(
'wooprod'
,
false
);
if
(
$is_sexhack_video
)
{
set_query_var
(
'post_type'
,
'sexhack_video'
);
if
(
file_exists
(
plugin_dir_path
(
__DIR__
)
.
'/template/
video.php'
))
{
sexhack_log
(
"NEW TEMPLATE!: "
.
plugin_dir_path
(
__DIR__
)
.
'/template/
video.php'
);
return
plugin_dir_path
(
__DIR__
)
.
'/template/
video.php'
;
if
(
file_exists
(
plugin_dir_path
(
__DIR__
)
.
'/template/
'
.
$template
))
{
sexhack_log
(
"NEW TEMPLATE!: "
.
plugin_dir_path
(
__DIR__
)
.
'/template/
'
.
$template
);
return
plugin_dir_path
(
__DIR__
)
.
'/template/
'
.
$template
;
}
}
return
$template
;
...
...
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