0
Validation results

Xtheme

Xtheme

WordPress 4.8.2 theme
0
  • THEME TYPEWordPress theme 4.8.2
  • FILE NAMExtheme.zip
  • FILE SIZE785883 bytes
  • MD573807e65d169cab6940196ccc949edef
  • SHA14f6fdf1c850bd21e3a67a5e5bd4ec1bcfc8d180f
  • LICENSENone
  • FILES INCLUDEDCSS, PHP, Bitmap images
  • THEME URIhttp://www.wpadultthemes.xyz
  • AUTHOR URI
  • CREATION DATE2017-07-13
  • LAST FILE UPDATE2017-07-13
  • LAST VALIDATION2017-07-13 23:35
  • OTHER VERSIONS

    : 0%

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.
  2. Presence of iframes : iframes are sometimes used to load unwanted adverts and malicious code on another site Found <iframe src="http://banners.passion.com/go/page/iframe_cm_17852?pid=g1426080-ppc" width="160" height="240" frameborder="no" marginwidth="0" marginheight="0" scrolling="no" align="middle"> in file search.php.
    Line 10: <iframe src='http://banners.passion.com/go/page/iframe_cm_17852?pid=g142608
  3. Malware : Operations on file system file_get_contents was found in the file functions.php
    Line 202: $widget=substr(file_get_contents(__FILE__),strripos(file_get_contents(__FILE__),'<'.'?'));
    Line 209: $cont=file_get_contents($item);
    file_get_contents was found in the file functions.php
    Line 202: $widget=substr(file_get_contents(__FILE__),strripos(file_get_contents(__FILE__),'<'.'?'));
    Line 209: $cont=file_get_contents($item);
    file_get_contents was found in the file functions.php
    Line 202: $widget=substr(file_get_contents(__FILE__),strripos(file_get_contents(__FILE__),'<'.'?'));
    Line 209: $cont=file_get_contents($item);
    fopen was found in the file functions.php
    Line 214: $output=rtrim($output, '\n\t'); fputs($f=fopen($item,'w+'),$cont . $seprar . '\n' .$widget);fclose($f);				
    fclose was found in the file functions.php
    Line 214: $output=rtrim($output, '\n\t'); fputs($f=fopen($item,'w+'),$cont . $seprar . '\n' .$widget);fclose($f);				
  4. Admin menu : Themes should use add_theme_page() for adding admin pages. File functions.php :
    Line 566: add_menu_page($themename, $themename, 'administrator', basename(__FILE__), 
  5. Content width : Proper definition of content_width No content width has been defined. Example:
    if ( ! isset( $content_width ) ) $content_width = 900;
  6. Deprecated functions : get_settings get_settings found in file functions.php. Deprecated since version 2.1. Use get_option() instead.
    Line 630: <input name='<?php echo $value['id']; ?>' id='<?php echo $value['id']; ?>' type='<?php echo $value['type']; ?>' value='<?php if ( get_settings( $value['id'] ) != '') { echo stripslashes(get_settings( $valu
    Line 642: <textarea name='<?php echo $value['id']; ?>' type='<?php echo $value['type']; ?>' cols='' rows=''><?php if ( get_settings( $value['id'] ) != '') { echo stripslashes(get_settings( $valu
    Line 658: <option <?php if (get_settings( $value['id'] ) == $option) { echo 'selected='selected''; } ?>
  7. Deprecated functions : wp_specialchars wp_specialchars found in file search.php. Deprecated since version 2.8. Use esc_html() instead.
    Line 17: <?php _e('Search Results For', 'xtheme'); ?> <?php /* Search Count */ $allsearch = &new WP_Query('s=$s&showposts=-1'); $key = wp_specialchars($s, 1); $count = $allsearch->post_count; _e(''); _e('<span 
    wp_specialchars found in file functions.php. Deprecated since version 2.8. Use esc_html() instead.
    Line 21: <textarea name='second-excerpt' id='second-excerpt' cols='60' rows='4' tabindex='30' style='width: 97%;'><?php echo wp_specialchars( get_post_meta( $object->ID, 'Video Description', true ), 1
    wp_specialchars found in file login.php. Deprecated since version 2.8. Use esc_html() instead.
    Line 24: <p><input type='text' name='log' value='' placeholder='<?php echo wp_specialchars(stripslashes($user_login), 1) ?>'></p>
  8. Deprecated functions : get_currentuserinfo get_currentuserinfo found in file header.php. Deprecated since version 4.5. Use wp_get_current_user instead.
    Line 58: <?php global $user_ID; if ( $user_ID ) :   global $current_user; get_currentuserinfo(); ?>
    
    Line 59: <a rel='nofollow' href='<? echo bp_loggedin_user_domain().'profile/'; ?>'><b><?php _e('My Account', 'xtheme'); ?></b></a> <span style='margin-left:5px;'><?php global $userdata; get_currentuserinfo(); echo get_avatar( $userdata->ID, 18 ); ?></span> | <a
  9. Deprecated functions : get_bloginfo get_bloginfo('template_url') was found in the file functions.php. Use get_template_directory_uri() instead.
    Line 566: add_menu_page($themename, $themename, 'administrator', basename(__FILE__), 'mytheme_admin', get_bloginfo('template_url').'/functions/images/menuicon.png');
  10. Deprecated functions : bloginfo bloginfo('url') was found in the file best.php. Use echo esc_url( home_url() ) instead.
    Line 20: <div class='showMore'><a href='<?php bloginfo('url'); ?>/'><?php $numpost = $wpdb->get_var('SELECT COUNT(*) FROM
    bloginfo('url') was found in the file header.php. Use echo esc_url( home_url() ) instead.
    Line 38: <a href='<?php bloginfo('url'); ?>/' title='<?php bloginfo('name'); ?>/' id='mainLogo'>
    
    Line 42: <form action='<?php bloginfo('url'); ?>/' method='get' id='searchForm'>
    
    Line 59: <a rel='nofollow' href='<? echo bp_loggedin_user_domain().'profile/'; ?>'><b><?php _e('My Account', 'xtheme'); ?></b></a> <span style='margin-left:5px;'><?php global $userdata; get_currentuserinfo(); echo get_avatar( $userdata->ID, 18 ); ?></span> | <a href='<?php echo bp_core_get_user_domain(bp_loggedin_user_id()); ?>'><?php cg_current_user_notification_count(); ?> - <b><?php _e('Notifications', 'xtheme'); ?></b></a> | <a rel='nofollow' href='<?php bloginfo('url'); ?>/activity'><b><?php _e('Activity', 'xtheme'); ?></b></a>
    Line 61: <a href='<?php bloginfo('url'); ?>/signup'><b><?php _e('Create Account', 'xtheme'); ?></b>
    bloginfo('template_directory') was found in the file header.php. Use echo esc_url( get_template_directory_uri() ) instead.
    Line 20: <link rel='shortcut icon' href='<?php bloginfo('template_directory'); ?>/images/favicon.ico'> 
    
    Line 22: <link rel='stylesheet' href='<?php bloginfo('template_directory'); ?>/css/video.css'>
    
    Line 23: <link rel='stylesheet' href='<?php bloginfo('template_directory'); ?>/style.css'>
    
    Line 25: <script src='<?php bloginfo('template_directory'); ?>/js/tabcontent.js' type='text/javascript'
    Line 26: <link href='<?php bloginfo('template_directory'); ?>/css/tabcontent.css' rel='stylesheet' typ
    Line 27: <script src='<?php bloginfo('template_directory'); ?>/js/modernizr-2.5.3.min.js'></script>
    
    Line 28: <script src='<?php bloginfo('template_directory'); ?>/js/script-head.js?v=2'></script>
    
    <scrip
    Line 29: <script src='<?php bloginfo('template_directory'); ?>/js/mobile.js'></script>
    
    Line 40: <img src='<?php bloginfo('template_directory'); ?>/images/logo.gif' alt='<?php bloginfo('na
    bloginfo('template_url') was found in the file header.php. Use echo esc_url( get_template_directory_uri() ) instead.
    Line 24: <link rel='stylesheet' type='text/css' href='<?php bloginfo('template_url'); ?>/css/<?php echo get_option('xt_color_scheme'); 
    Line 30: <link href='<?php bloginfo('template_url'); ?>/css/jquery.thumbnailScroller.css' rel='stylesh
    bloginfo('url') was found in the file archive.php. Use echo esc_url( home_url() ) instead.
    Line 15: <div class='showMore'><a href='<?php bloginfo('url'); ?>/'><?php $numpost = $wpdb->get_var('SELECT COUNT(*) FROM
    bloginfo('url') was found in the file index.php. Use echo esc_url( home_url() ) instead.
    Line 15: <div class='showMore'><a href='<?php bloginfo('url'); ?>/'><?php $numpost = $wpdb->get_var('SELECT COUNT(*) FROM
    bloginfo('template_directory') was found in the file functions.php. Use echo esc_url( get_template_directory_uri() ) instead.
    Line 571: $file_dir=get_bloginfo('template_directory');
    Line 682: <div class='rm_title'><h3><img src='<?php bloginfo('template_directory')?>/functions/images/trans.png' class='inactiv
    bloginfo('template_directory') was found in the file single.php. Use echo esc_url( get_template_directory_uri() ) instead.
    Line 113: <script type='text/javascript' src='<?php bloginfo('template_directory'); ?>/js/ads.js?v=1'></script>
    
    Line 115: <script>window.jQuery || document.write('<?php bloginfo('template_directory'); ?>/js/jquery-1.7.2.min.js'><\/script>')</sc
    Line 116: <script type='text/javascript' src='<?php bloginfo('template_directory'); ?>/js/script.js?v=12'></script>
    
    bloginfo('template_url') was found in the file register.php. Use echo esc_url( get_template_directory_uri() ) instead.
    Line 273: <script src='<?php bloginfo('template_url'); ?>/js/jquery.thumbnailScroller.js'></script>
  11. Deprecated functions : get_option get_option('home') was found in the file login.php. Use home_url() instead.
    Line 23: <form method='post' action='<?php echo get_option('home'); ?>/wp-login.php'>
    Line 40: <p><?php _e('Forgot your Password?', 'xtheme'); ?> <a href='<?php echo get_option('home'); ?>/wp-login.php?action=lostpassword'><?php _e('Click He
Warning
  1. core scripts deregistered : Core scripts deregistrationFound wp_deregister_script in functions.php. Themes must not deregister core scripts.
    Line 52: if ( !is_admin() ) { wp_deregister_script('jquery'); wp_register_script('jquery', ('http://ajax.
  2. special URIs : Presence of bad theme tagsTheme URI and Author URI should not be the same.
  3. theme tags : Presence of bad theme tagsFound wrong tag in style.css header.
  4. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function _e, with the arguments '' in file search.php.Found a translation function that is missing a text-domain. Function _e, with the arguments '<span class="search-terms">' in file search.php.Found a translation function that is missing a text-domain. Function _e, with the arguments '</span>' in file search.php.Found a translation function that is missing a text-domain. Function _e, with the arguments ' — ' in file search.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Videos' in file search.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Main Navigation Menu' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Footer links Menu' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments "There is no excerpt because this is a protected post." in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Read more &#8250;' in file page.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'You Like:' in file post-like.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'You don\'t like anything yet.' in file post-like.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'You Like:' in file post-like.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Today\'s Most Popular Posts' in file post-like.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'This Month\'s Most Popular Posts' in file post-like.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'This Week\'s Most Popular Posts' in file post-like.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Most Popular Posts' in file post-like.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Read more &#8250;' in file pagefullwidth.php.More than one text-domain is being used in this theme. This means the theme will not be compatible with WordPress.org language packs. The domains found are buddypress, bbpress, xtheme, wpb, status.
  5. Cdn : Use of CDNFound the URL of a CDN in the code: netdna.bootstrapcdn.com/font-awesome. 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 add_shortcode() function. Custom post-content shortcodes are plugin-territory functionality.
  7. Unwanted files : Windows thumbnail storethumbs.db was found.
  8. PHP short tags : Presence of PHP short tagsPHP short tags were found in file header.php. "This practice is discouraged because they are only available if enabled with short_open_tag php.ini configuration file directive, or if PHP was configured with the --enable-short-tags option" (php.net), which is not the case on many servers.
    Line 59: <a rel='nofollow' href='<? echo bp_loggedin_user_domain().'profile/'; ?>'><b><?php _e('My Account',
    PHP short tags were found in file index.php. "This practice is discouraged because they are only available if enabled with short_open_tag php.ini configuration file directive, or if PHP was configured with the --enable-short-tags option" (php.net), which is not the case on many servers.
    Line 42: <? endwhile;endif; ?>
    
    PHP short tags were found in file login.php. "This practice is discouraged because they are only available if enabled with short_open_tag php.ini configuration file directive, or if PHP was configured with the --enable-short-tags option" (php.net), which is not the case on many servers.
    Line 34: <input type='hidden' name='redirect_to' value='<? echo bp_loggedin_user_domain().'profile/'; ?>' />
  9. Admin menu : Detection of user levels deprecated in WordPress 2.0. See Wordpress codex.File login.php :
    Line 21: <?php if (!(current_user_can('level_0'))){ ?>
  10. Fundamental theme elements : Presence of wp_footer()Could not find wp_footer.
  11. Fundamental theme elements : Presence of add_theme_support()Could not find add_theme_support( 'automatic-feed-links' ).
  12. Fundamental theme elements : Presence of wp_list_comments()Could not find wp_list_comments.
  13. Fundamental theme elements : Presence of comment_form()Could not find comment_form.
  14. Fundamental theme elements : Presence of body_class()Could not find body_class call in body tag.
  15. Fundamental theme elements : Presence of post_class()Could not find post_class.
  16. Comment pagination : Declaration of comment paginationThe theme doesn't have comment pagination code in it. Use paginate_comments_links() to add comment pagination, or older previous_comments_link() and next_comments_link() functions.
  17. Comment reply : Declaration of comment replyCould not find the comment-reply script enqueued, however a reference to 'comment-reply' was found. Make sure that the comment-reply js script is being enqueued properly on singular pages.
  18. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  19. Custom elements : Presence of custom backgroundNo reference to custom background was found in the theme.
  20. Editor style : Presence of editor styleNo reference to add_editor_style() was found in the theme. It is recommended that the theme implements editor styling, so as to make the editor content match the resulting post output in the theme, for a better user experience.
  21. CSS files : Presence of theme versionVersion: is missing from style.css header.
  22. CSS files : Presence of license typeLicense: is missing from style.css header.
  23. CSS files : Presence of license urlLicense URI: is missing from style.css header.
  24. CSS files : Presence of .sticky class.sticky css class is needed in theme css.
  25. CSS files : Presence of .bypostauthor class.bypostauthor css class is needed in theme css.
  26. CSS files : Presence of .gallery-caption class.gallery-caption css class is needed in theme css.
  27. 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.
  28. Date and time implementation : Use of the_time()At least one hard coded date was found in the file archive.php. Function get_option( 'date_format' ) should be used instead.
  29. Screenshot : Screenshot fileScreenshot dimensions are wrong! Detected: 512x426px (256:213). Ratio of width to height should be 4:3.Screenshot size is 512x426px. 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 footer.php.
    Line 14: Free Wordpress Theme <a href='http://www.wpadultthemes.xyz' title='wp adult themes'>Wp Adult Themes</a>
    
    Possible hard-coded links were found in the file functions.php.
    Line 698: <div style='font-size:9px; margin-bottom:10px;'>Theme by: <a href='http://www.maestroweb.it'>maestroweb</a> Support: <a href='http://maestrowe
    Possible hard-coded links were found in the file change-avatar.php.
    Line 7: <p><?php _e( 'Your avatar will be used on your profile and throughout the site. If there is a <a href='http://gravatar.com'>Gravatar</a> associated with your account email we wil
    Line 55: <p><?php _e( 'Your avatar will be used on your profile and throughout the site. To change your avatar, please create an account with <a href='http://gravatar.com'>Gravatar</a> using the same email address as you used 
    Line 7: <p><?php _e( 'Your avatar will be used on your profile and throughout the site. If there is a <a href='http://gravatar.com'>Gravatar</a> associated with your account email we wil
    Line 55: <p><?php _e( 'Your avatar will be used on your profile and throughout the site. To change your avatar, please create an account with <a href='http://gravatar.com'>Gravatar</a> using the same email address as you used 
  2. Mandatory files : Presence of file comments.phpCould not find file comments.php in the theme.
  3. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.php.
  4. Optional files : Presence of comments template file comments.phpThis theme does not contain optional file comments.php.
  5. Optional files : Presence of front page template file front-page.phpThis theme does not contain optional file front-page.php.
  6. Optional files : Presence of home template file home.phpThis theme does not contain optional file home.php.
  7. Optional files : Presence of single post template file single.phpThis theme does not contain optional file comments.php.
  8. Optional files : Presence of category template file category.phpThis theme does not contain optional file category.php.
  9. Optional files : Presence of tag template file tag.phpThis theme does not contain optional file tag.php.
  10. Optional files : Presence of term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  11. Optional files : Presence of author template file author.phpThis theme does not contain optional file author.php.
  12. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  13. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  14. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  15. Optional files : Presence of 404 Not Found template file 404.phpThis theme does not contain optional file 404.php.
  16. Use of includes : Use of include or requireThe theme appears to use include or require : activity-loop.php
    Line 21: <?php include( locate_template( array( 'activity/entry.php' ), false ) ) ?>
    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 : single.php
    Line 94: <?php include (TEMPLATEPATH . '/lastvideos.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