Commit efc781db authored by Rafael Chaves Freitas's avatar Rafael Chaves Freitas
Browse files

remove dump

parent 893193ca
......@@ -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">
......
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