Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
open-source
Guaraci WordPress Plugin
Commits
efc781db
Commit
efc781db
authored
5 years ago
by
Rafael Chaves Freitas
Browse files
Options
Download
Email Patches
Plain Diff
remove dump
parent
893193ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
pagebuilder-components/widgets/featured-videos/tpl/template.php
...ilder-components/widgets/featured-videos/tpl/template.php
+0
-3
No files found.
pagebuilder-components/widgets/featured-videos/tpl/template.php
View file @
efc781db
...
...
@@ -16,7 +16,6 @@ if($instance['youtube_list'] == 'playlist'){
$cache_key
=
"featured-videos:"
.
md5
(
$url
);
if
(
!
(
$result
=
wp_cache_get
(
$cache_key
))){
var_dump
(
'entrou'
);
$result
=
json_decode
(
file_get_contents
(
$url
));
if
(
is_object
(
$result
)
&&
!
$result
->
error
){
wp_cache_add
(
$cache_key
,
$result
,
''
,
30
*
MINUTE_IN_SECONDS
);
...
...
@@ -37,8 +36,6 @@ $extract_vid = function($video){
return
$video
->
id
->
videoId
;
}
};
var_Dump
(
$result
);
?>
<div
class=
"custom-so-widget alignfull featured-videos"
>
...
...
This diff is collapsed.
Click to expand it.
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