0
Validation results

MafiaShare.net - Serpent

MafiaShare.net - Serpent

WordPress 4.8.2 theme
0
  • THEME TYPEWordPress theme 4.8.2
  • FILE NAMEserpent_v0.4.zip
  • FILE SIZE25723176 bytes
  • MD530499a10d55c5f486929536306c64aec
  • SHA16f11c404d06ab742dbbb641145f48ead814d571a
  • LICENSEGNU GPL 2
  • FILES INCLUDEDCSS, PHP, HTML, XML, Bitmap images, Adobe Photoshop, Adobe Illustrator
  • THEME URIhttp://www.mafiashare.net
  • VERSION0.4
  • AUTHOR URI
  • TAGSfixed-width,custom-menu,custom-colors,custom-header,custom-background,two-columns,left-sidebar,right-sidebar,sticky-post,theme-options
  • CREATION DATE2017-03-19
  • LAST FILE UPDATE2017-03-19
  • LAST VALIDATION2017-03-19 07:15
Critical alerts
  1. Title : Title No reference to add_theme_support( "title-tag" ) was found in the theme.The theme needs to have <title> tags, ideally in the header.php file.The theme needs to have a call to wp_title(), ideally in the header.php file.The <title> tags can only contain a call to wp_title(). Use the wp_title filter to modify the output.The <title> tags can only contain a call to wp_title(). Use the wp_title filter to modify the output.The <title> tags can only contain a call to wp_title(). Use the wp_title filter to modify the output.
  2. Widgets : Widgets Sidebars need to be registered in a custom function hooked to the widgets_init action. See: register_sidebar().
  3. Security breaches : Use of base64_decode() Found base64_decode in file facebook.class.php.
    Line 4: return base64_decode( strtr( $input , '-_' , '+/' ) );
  4. Presence of iframes : iframes are sometimes used to load unwanted adverts and malicious code on another site Found <iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo urlencode( get_permalink( $post-> in file social-sharing.php.
    Line 8: <div class='share_button'><iframe src='http://www.facebook.com/plugins/like.php?href=<?php echo urlen
    Found <iframe src="admin-ajax.php?action=get_contact_map&amp;id=<?php echo $post -> in file contact.php.
    Line 41: <iframe src='admin-ajax.php?action=get_contact_map&amp;id=<?php echo $post 
    Found <iframe src="http://player.vimeo.com/video/' . $record['video_path'] . '?title=0&amp;byline=0&amp;portrait=0" width="' . $size[ 0 ] . '" height="' . $size[ 1 ] . '" frameborder="0"> in file meta.class.php.
    Line 160: $result .= '<iframe src='http://player.vimeo.com/video/' . $record['video_path'] . '?ti
    Found <iframe width="'.$width.'" height="'.$height.'" src="http://www.youtube.com/embed/'.$video_id.'?wmode=transparent&autoplay='.$autoplay.'" wmode="opaque" frameborder="0" allowfullscreen> in file post.class.php.
    Line 1825: $embeded_video	= '<iframe width=''.$width.'' height=''.$height.'' src='http://www.youtube.com
    Found <iframe id="'.$format.'_upload_iframe" class="upload_iframe" src="'.get_template_directory_uri().'/upload_iframe.php?type='.$format.(isset($post_id)?('&post='.$post_id):"").'"> in file fields.class.php.
    Line 218: $result.='<iframe id=''.$format.'_upload_iframe'  class='upload_iframe' src=''.get_te
  5. Admin menu : Themes should use add_theme_page() for adding admin pages. File admin.php :
    Line 9: add_options_page('Video.js Settings', 'Video.js Settings', 'manage_options'
    File options.class.php :
    Line 21: add_menu_page( $item['main_label'] , $item['main_label'] , 'administrator' 
    File options.class.php :
    Line 26: add_submenu_page( $main_slug , $item['label'] , $item['label'] , 'administr
    Line 29: add_submenu_page( $main_slug , $item['label'] , __($item['label'],'cosmothe
    File options.class.php :
    Line 26: add_submenu_page( $main_slug , $item['label'] , $item['label'] , 'administr
    Line 29: add_submenu_page( $main_slug , $item['label'] , __($item['label'],'cosmothe
    File simple_modal_login.class.php :
    Line 109: /*add_options_page('SimpleModal Login', 'SimpleModal Login', 'manage_options'
  6. Hidden admin bar : Hidden admin Bar Themes should not hide admin bar. Detected in file : functions.php.
  7. Deprecated functions : wp_tiny_mce wp_tiny_mce found in file WP_Editor.class.php. Deprecated since version 3.2. Use wp_editor instead.
    Line 134: if ( !function_exists('wp_tiny_mce') )
    Line 143: if ( function_exists('wp_tiny_mce_preload_dialogs') ) {
    Line 144: add_action( 'wp_footer', 'wp_tiny_mce_preload_dialogs', 30 );
    Line 145: add_action( 'admin_print_footer_scripts', 'wp_tiny_mce_preload_dialogs', 30 );
    Line 154: wp_tiny_mce(false, $set);
  8. Deprecated functions : current_theme_info current_theme_info found in file options.class.php. Deprecated since version 3.4. Use wp_get_theme() instead.
    Line 160: $ct = current_theme_info();
  9. Deprecated functions : get_currentuserinfo get_currentuserinfo found in file user_profile_update.php. Deprecated since version 4.5. Use wp_get_current_user instead.
    Line 5: get_currentuserinfo();
    get_currentuserinfo found in file facebook.class.php. Deprecated since version 4.5. Use wp_get_current_user instead.
    Line 123: get_currentuserinfo();
    Line 143: get_currentuserinfo();
    Line 185: get_currentuserinfo();
    get_currentuserinfo found in file like.class.php. Deprecated since version 4.5. Use wp_get_current_user instead.
    Line 325: get_currentuserinfo();
    Line 353: get_currentuserinfo();
    get_currentuserinfo found in file user_profile.php. Deprecated since version 4.5. Use wp_get_current_user instead.
    Line 3: get_currentuserinfo();
Warning
  1. special URIs : Presence of bad theme tagsTheme URI and Author URI should not be the same.
  2. theme tags : Presence of bad theme tagsThe tag fixed-width has been deprecated, it must be removed from style.css header.
  3. Text domain : Incorrect use of translation functions.Wrong installation directory for the theme name. The directory name must match the slug of the theme. This theme's correct slug and text-domain is mafiashare-net-serpent.
  4. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function __, with the arguments 'You do not have sufficient permissions to access this page.' in file admin.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Save Changes' in file admin.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Select categories' in file options.register.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Shift-click or CTRL-click to select multiple items' in file options.register.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'cosmotheme' in file options.class.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'cosmotheme' in file options.class.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'cosmotheme' in file options.class.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'cosmotheme' in file options.class.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'cosmotheme' in file options.class.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Download audio file' in file audio-player.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Audio clip: Adobe Flash Player (version 9 or above) is required to play this audio clip. Download the latest version <a href="%s" title="Download Adobe Flash Player">here</a>. You also need to have JavaScript enabled in your browser.' in file audio-player.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'cosmotheme' in file fields.class.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'cosmotheme' in file fields.class.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'cosmotheme' in file fields.class.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'cosmotheme' in file fields.class.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'cosmotheme' in file fields.class.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'cosmotheme' in file fields.class.php.Found a translation function that is missing a text-domain. Function __, with the arguments in file shcode.class.php.Found a translation function that is missing a text-domain. Function __, with the arguments in file shcode.class.php.
  5. Cdn : Use of CDNFound the URL of a CDN in the code: html5shiv.googlecode.com/svn/trunk/html5.js. CSS or Javascript resources should not be loaded from a CDN. These resources should be bundled with the theme.
  6. Plugin territory : Plugin territory functionalitiesThe theme uses the register_post_type() function, which is plugin-territory functionality.The theme uses the add_shortcode() function. Custom post-content shortcodes are plugin-territory functionality.
  7. Line endings consistency : Both DOS and UNIX style line endingsFound a mix of \r\n and \n line endings in file style.css.
  8. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  9. Deprecated functions : current_theme_infocurrent_theme_info found in file options.class.php. Deprecated since version 3.4. Use wp_get_theme() instead.
    Line 160: $ct = current_theme_info();
  10. I18N implementation : Proper use of _e(Possible variable $items found in translation function in options.class.php. Translation function calls should not contain PHP variables.
    Line 247: _e(self::get_fields( $items[1] ),'cosmotheme');
  11. I18N implementation : Proper use of ___all(Possible variable $item found in translation function in options.class.php. Translation function calls should not contain PHP variables.
    Line 29: add_submenu_page( $main_slug , $item['label'] , __($item['label'],'cosmotheme') , 'administrator' , $main . '__' . $slug , 
    Possible variable $title found in translation function in options.class.php. Translation function calls should not contain PHP variables.
    Line 115: self::get_page( __($title,'cosmotheme') , __($slug,'cosmotheme') , __($description,'cosmoth
    Possible variable $slug found in translation function in options.class.php. Translation function calls should not contain PHP variables.
    Line 115: self::get_page( __($title,'cosmotheme') , __($slug,'cosmotheme') , __($description,'cosmotheme') , __($update,'cosmot
    Possible variable $description found in translation function in options.class.php. Translation function calls should not contain PHP variables.
    Line 115: self::get_page( __($title,'cosmotheme') , __($slug,'cosmotheme') , __($description,'cosmotheme') , __($update,'cosmotheme') );
    Possible variable $update found in translation function in options.class.php. Translation function calls should not contain PHP variables.
    Line 115: self::get_page( __($title,'cosmotheme') , __($slug,'cosmotheme') , __($description,'cosmotheme') , __($update,'cosmotheme') );
    Possible variable $info found in translation function in options.class.php. Translation function calls should not contain PHP variables.
    Line 172: $result .= '<li '. self::get_class( $slug , $current ) .'><a href='' . self::get_path( $item . '__' . $slug ) . ''>' . get_item_label( __($info['label'],'cosmotheme') ) . '</a></li>';
    Possible variable $fields found in translation function in extra.class.php. Translation function calls should not contain PHP variables.
    Line 103: $result .= '<i>' . __(options::$fields[ $group ][ 'hint' ],'cosmotheme') . '</i>';
    Possible variable $this found in translation function in audio-player.php. Translation function calls should not contain PHP variables.
    Line 492: $links .= '<a href='' . $files[$i] . ''>' . __('Download audio file', $this->textDomain) . ' (' . $fileName . ')</a><br
    Possible variable $this found in translation function in audio-player.php. Translation function calls should not contain PHP variables.
    Line 511: $playerCode = '<p class='audioplayer_container'><span style='display:block;padding:5px;border:1px solid #dddddd;background:#f8f8f8' id='' . $playerElementID . ''>' . sprintf(__('Audio clip: Adobe Flash Player (version 9 or above) is required to play
    Possible variable $label found in translation function in fields.class.php. Translation function calls should not contain PHP variables.
    Line 29: $label = isset( $label ) ? '<label ' . $label_id . '>' . __($label,'cosmotheme') . '</label>' : '';
    Possible variable $hint found in translation function in fields.class.php. Translation function calls should not contain PHP variables.
    Line 40: $hint   = isset( $hint ) ? '<div class='generic-hint ' . $hc . ''>' . __( $hint , 'cosmotheme') . '</div>': '' ;
    Possible variable $help found in translation function in fields.class.php. Translation function calls should not contain PHP variables.
    Line 41: $help   = isset( $help ) ? '<span class='generic-help' ' . __( self::action( $help ) , 'cosmotheme' ) . '></span>': '' ;
    Possible variable $title found in translation function in fields.class.php. Translation function calls should not contain PHP variables.
    Line 151: $result .= '<h3 class='generic-record-title '  . $fclasses .  '' >' . __($title,'cosmotheme') . '</h3>';
    Possible variable $value found in translation function in fields.class.php. Translation function calls should not contain PHP variables.
    Line 155: $result .= __($value,'cosmotheme');
    Possible variable $content found in translation function in fields.class.php. Translation function calls should not contain PHP variables.
    Line 159: $result .= __($content,'cosmotheme');
    Possible variable $title_open found in translation function in shcode.class.php. Translation function calls should not contain PHP variables.
    Line 398: return '<div class='cosmo-toggle'><div class=''.$div_class.''><h2 class='cosmo-toggle-h2'><a class=''.$ico_class.''><span class='title_closed '.$title_closed_class.''>'.__($title_open).'</span><span class='title_open '.$title_open_class.'' >'._
    Possible variable $title_closed found in translation function in shcode.class.php. Translation function calls should not contain PHP variables.
    Line 398: return '<div class='cosmo-toggle'><div class=''.$div_class.''><h2 class='cosmo-toggle-h2'><a class=''.$ico_class.''><span class='title_closed '.$title_closed_class.''>'.__($title_open).'</span><span class='title_open '.$title_open_class.'' >'.__($title_closed).'</span></a></h2></div><div class='cosmo-toggle-container
  12. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  13. CSS files : Presence of .gallery-caption class.gallery-caption css class is needed in theme css.
  14. CSS files : Presence of .screen-reader-text class.screen-reader-text css class is needed in your theme css. See : the Codex for an example implementation.
  15. Tags : Tags displayThis theme doesn't seem to display tags.
  16. Screenshot : Screenshot fileScreenshot size is 240x180px. Screenshot size should be 1200x900, to account for HiDPI displays. Any 4:3 image size is acceptable, but 1200x900 is preferred.Bad screenshot file extension ! File screenshot.png is not an actual JPG file. Detected type was : "image/png".
Tip-off
  1. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file video-js.php.
    Line 10: Author: <a href='http://steveheffernan.com'>Steve Heffernan</a>, <a href='http://www.nosecre
    Possible hard-coded links were found in the file social-sharing.php.
    Line 6: <div class='share_button'><a href='https://twitter.com/share' class='twitter-share-button' data-url='<?php ech
    Possible hard-coded links were found in the file options.register.php.
    Line 96: options::$fields['general']['fb_app_id_note']       = array( 'type' => 'st--hint' , 'value' => __( 'You can set Facebook application ID' , 'cosmotheme' ) . ' <a href='admin.php?page=cosmothemes__social'>' . __( 'here' , 'cosmotheme') . '</a> 
    Line 115: options::$default['general']['copy_right'] 			= 'Copyright &copy; %year% <a href='http://cosmothemes.com' target='_blank'>CosmoThemes</a>. All rights reserve
    Line 324: options::$fields['front_page']['info_page']         = array( 'type' => 'st--hint' , 'value' => __( 'If you wish to set blog page go to '  , 'cosmotheme' ) . '<a href='options-reading.php'>' . __( 'Settings -> Reading ' , 'cosmotheme' ) . '</a
    Line 326: options::$fields['front_page']['info_hot']          = array( 'type' => 'st--hint' , 'value' => __( 'Please set Like limit for Featured posts in '  , 'cosmotheme' ) . '<a href='admin.php?page=cosmothemes__general'>' . __( 'General settings' , 'cosmothe
    Line 461: options::$fields['styling']['background_image']     = array( 'type' => 'st--hint' , 'value' => __( 'To set a background image go to' , 'cosmotheme' ) . ' <a href='themes.php?page=custom-background'>' . __( 'Appearence - Background'  , 'co
    Line 481: options::$fields['styling']['hint']                 = array('type' => 'st--hint' , 'classes' => 'g_logo_text hidden' ,'value' => __( 'To change blog title go to <a href='options-general.php'>General settings</a> ' , 'cosmotheme') );
    Line 485: options::$fields['styling']['hint']                 = array('type' => 'st--hint' , 'classes' => 'generic-hint g_logo_text' , 'value' => __( 'To change blog title go to <a href='options-general.php'>General settings </a> ' , 'cosmotheme') );
    Line 481: options::$fields['styling']['hint']                 = array('type' => 'st--hint' , 'classes' => 'g_logo_text hidden' ,'value' => __( 'To change blog title go to <a href='options-general.php'>General settings</a> ' , 'cosmotheme') );
    Line 485: options::$fields['styling']['hint']                 = array('type' => 'st--hint' , 'classes' => 'generic-hint g_logo_text' , 'value' => __( 'To change blog title go to <a href='options-general.php'>General settings </a> ' , 'cosmotheme') );
    Line 566: options::$fields['social']['facebook_app_id']       = array('type' => 'st--text' , 'label' => __( 'Facebook Application ID' , 'cosmotheme' ) , 'hint' => __( 'You can create a fb application from <a href='https://developers.facebook.com/apps'>here</a>' , 'cosmotheme' ) );
    Line 582: options::$fields['slider']['slide_label']       = array( 'type' => 'st--hint' , 'value' => __( 'No sliders. To create a slide go to '  , 'cosmotheme' ) . '<a href='post-new.php?post_type=slideshow'>' . __( 'Add New Slideshow' , 'cosmotheme
  2. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.php.
  3. Optional files : Presence of home template file home.phpThis theme does not contain optional file home.php.
  4. Optional files : Presence of term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  5. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  6. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  7. Use of includes : Use of include or requireThe theme appears to use include or require : video-js.php
    Line 17: include_once($plugin_dir . 'admin.php');
    If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead. Otherwise, use include_once or require_once instead.
    The theme appears to use include or require : upload-server.php
    Line 2: @require_once('../../../wp-config.php');
    Line 3: @require_once(ABSPATH.'/wp-admin/includes/file.php');
    Line 4: @require_once(ABSPATH . 'wp-admin/includes/image.php');
    Line 5: @require_once(ABSPATH . 'wp-admin/includes/media.php');
    If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead. Otherwise, use include_once or require_once instead.
    The theme appears to use include or require : user_profile_update.php
    Line 8: //require_once( ABSPATH . WPINC . '/registration.php' );
    If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead. Otherwise, use include_once or require_once instead.
    The theme appears to use include or require : devider.php
    Line 31: include 'quote.php';
    Line 36: include 'list.php';
    If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead. Otherwise, use include_once or require_once instead.
    The theme appears to use include or require : tabs.php
    Line 52: <?php include 'toggle.php'; ?>
    If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead. Otherwise, use include_once or require_once instead.
    The theme appears to use include or require : main.php
    Line 19: <?php include 'column.php'; ?>
    Line 22: <?php include 'button.php'; ?>
    Line 25: <?php include 'tabs.php'; ?>
    Line 28: <?php include 'box.php'; ?>
    Line 31: <?php include 'devider.php'; ?>
    Line 34: <?php include 'contact.php'; ?>
    Line 37: <?php include 'table.php'; ?>
    If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead. Otherwise, use include_once or require_once instead.
    The theme appears to use include or require : deb.class.php
    Line 91: print htmlspecialchars( '<?php include '' . get_template_directory() . '/' . $path . '/' . $file . ''; ?>'
    If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead. Otherwise, use include_once or require_once instead.
    The theme appears to use include or require : WP_Editor.class.php
    Line 135: include_once( ABSPATH . 'wp-admin/includes/post.php' );
    Line 138: include_once( ABSPATH . 'wp-admin/includes/template.php' );
    If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead. Otherwise, use include_once or require_once instead.
    The theme appears to use include or require : core.php
    Line 4: include 'lib/php/core.php';
    Line 5: include 'lib/php/main.php';
    If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead. Otherwise, use include_once or require_once instead.
    The theme appears to use include or require : upload_iframe.php
    Line 2: @require_once('../../../wp-config.php');
    If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead. Otherwise, use include_once or require_once instead.
Other checked themes