0
Validation results

SW Atom (Shared on www.freewppremium.com)

SW Atom (Shared on www.freewppremium.com)

WordPress 4.8 theme
0
  • THEME TYPEWordPress theme 4.8
  • FILE NAMEsw_atom.zip
  • FILE SIZE11632817 bytes
  • MD5069cea81d8844a877c74a61a36d2cffe
  • SHA1626eb20f4aec0ecd656fb57c6a5f2c859a917f41
  • LICENSEGNU GPL 2
  • FILES INCLUDEDCSS, PHP, XML, Bitmap images, Adobe Illustrator
  • THEME URIhttp://smartaddons.com/
  • VERSION1.0.4
  • AUTHOR URI
  • TAGSblue, green, orange, rtl-language-support, sticky-post, two-columns
  • CREATION DATE2016-05-20
  • LAST FILE UPDATE2017-03-05
  • LAST VALIDATION2017-03-05 16:44
Critical alerts
  1. Presence of iframes : iframes are sometimes used to load unwanted adverts and malicious code on another site Found <iframe width="'.esc_attr( $w ).'" height="'.esc_attr( $h ).'" src="'.esc_attr( $src ).'" class="vid iframe-'.esc_attr( $site ).'"> in file shortcodes.php.
    Ligne872: return '<iframe width=''.esc_attr( $w ).'' height=''.esc_attr( $h ).'' src=''.esc_a
  2. Malware : Operations on file system file_get_contents was found in the file parsers.php
    Ligne252: if ( ! xml_parse( $xml, file_get_contents( $file ), true ) ) {
    fopen was found in the file parsers.php
    Ligne398: $fp = $this->fopen( $file, 'r' );
    Ligne615: function fopen( $filename, $mode = 'r' ) {
    Ligne618: return fopen( $filename, $mode );
    fclose was found in the file parsers.php
    Ligne447: $this->fclose($fp);
    Ligne633: function fclose( $fp ) {
    Ligne636: return fclose( $fp );
    fopen was found in the file parsers.php
    Ligne398: $fp = $this->fopen( $file, 'r' );
    Ligne615: function fopen( $filename, $mode = 'r' ) {
    Ligne618: return fopen( $filename, $mode );
    fopen was found in the file parsers.php
    Ligne398: $fp = $this->fopen( $file, 'r' );
    Ligne615: function fopen( $filename, $mode = 'r' ) {
    Ligne618: return fopen( $filename, $mode );
    fclose was found in the file parsers.php
    Ligne447: $this->fclose($fp);
    Ligne633: function fclose( $fp ) {
    Ligne636: return fclose( $fp );
    fclose was found in the file parsers.php
    Ligne447: $this->fclose($fp);
    Ligne633: function fclose( $fp ) {
    Ligne636: return fclose( $fp );
    file_get_contents was found in the file radium-importer.php
    Ligne395: $data = file_get_contents( $file );
    Ligne485: $data = file_get_contents( $file );
    file_get_contents was found in the file radium-importer.php
    Ligne395: $data = file_get_contents( $file );
    Ligne485: $data = file_get_contents( $file );
  3. Admin menu : Themes should use add_theme_page() for adding admin pages. File class-tgm-plugin-activation.php :
    Ligne641: $this->page_hook = call_user_func( 'add_submenu_page', $args['parent_slug'], $args['page_title'], $args['menu_t
    File defines.php :
    Ligne791: //the list of available parent menus is available here: http://codex.wordpress.org/Function_Reference/add_submenu_page#Parameters
    File activation.php :
    Ligne239: $add_default_pages = array(
    Ligne246: $result = wp_insert_post($add_default_pages);
    File activation.php :
    Ligne239: $add_default_pages = array(
    Ligne246: $result = wp_insert_post($add_default_pages);
  4. Deprecated functions : wp_get_http wp_get_http found in file wordpress-importer.php. Deprecated since version 4.4. Use WP_Http instead.
    Ligne895: $headers = wp_get_http( $url, $upload['file'] );
  5. Included plugins : Zip file found Plugins are not allowed in themes. The zip file found was sw-responsive-post-slider.zip sw-woo-tab-slider.zip revslider.zip sw-partner-slider.zip sw-woo-totalsales-slider.zip sw-testimonial-slider.zip js_composer.zip sw_portfolio.zip sw-woo-tab-category-slider.zip sw-woo-slider.zip sw_ourteam.zip.
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 blue has been deprecated, it must be removed from style.css header.The tag green has been deprecated, it must be removed from style.css header.The tag orange 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 sw-atom-shared-on-www-freewppremium-com.
  4. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function __, with the arguments 'yatheme' in file widgets.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'yatheme' in file widgets.php.Found a translation function that is missing a text-domain. Function esc_html_e, with the arguments 'yatheme' in file widgets.php.Found a translation function that has an incorrect number of arguments. Function __, with the arguments 'The fonts provided below are free to use custom fonts from the <a href="', target=_blank>Google Web Fonts directory</a>.<br/>Please <a href=, 'http://www.google.com/webfonts' in file field_google_webfonts.php.Found a translation function that has an incorrect number of arguments. Function __, with the arguments 'The fonts provided below are free to use custom fonts from the <a href="', target=_blank>Google Web Fonts directory</a>.<br/>Please <a href=, '" target="_blank">browse the directory</a> to preview a font, then select your choice below.' in file field_google_webfonts.php.Found a translation function that has an incorrect number of arguments. Function __, with the arguments 'The fonts provided below are free to use custom fonts from the <a href="', target=_blank>Google Web Fonts directory</a>.<br/>Please <a href=, '" target="_blank">browse the directory</a> to preview a font, then select your choice below.', 'yatheme' in file field_google_webfonts.php.Found a translation function that is missing a text-domain. Function esc_html_e, with the arguments 'yatheme' in file nav.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'woocommerce' in file review.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 yatheme, woocommerce, overmax, smartaddons, tgmpa, radium, wordpress-importer, http://www.google.com/webfonts, target=_blank>Google Web Fonts directory</a>.<br/>Please <a href=, wc_currency_converter.
  5. Plugin territory : Plugin territory functionalitiesThe theme uses the add_shortcode() function. Custom post-content shortcodes are plugin-territory functionality.
  6. Line endings consistency : Both DOS and UNIX style line endingsFound a mix of \r\n and \n line endings in file config.php.Found a mix of \r\n and \n line endings in file activation.php.
  7. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  8. Custom elements : Presence of custom backgroundNo reference to custom background was found in the theme.
  9. Deprecated functions : post_permalinkpost_permalink found in file thisweak.php. Deprecated since version 4.4. Use get_permalink instead.
    Ligne31: <a href='<?php echo post_permalink($item->ID)?>'><?php echo esc_html( $item->post_title ); ?></
    post_permalink found in file women.php. Deprecated since version 4.4. Use get_permalink instead.
    Ligne29: <a href='<?php echo post_permalink($post->ID)?>' title='<?php echo esc_attr( $post->post_title 
    Ligne34: <h4><a href='<?php echo post_permalink($post->ID)?>' title='<?php echo esc_attr( $post->post_title 
    Ligne65: <a href='<?php echo post_permalink($post->ID)?>' title='<?php echo esc_attr( $post->post_title 
    Ligne69: <h4><a href='<?php echo post_permalink($post->ID)?>' title='<?php echo esc_attr( $post->post_title 
    post_permalink found in file slideshow.php. Deprecated since version 4.4. Use get_permalink instead.
    Ligne30: <a href='<?php echo post_permalink($item->ID)?>'><?php echo esc_html( $item->post_title ); ?></
    post_permalink found in file the-blog.php. Deprecated since version 4.4. Use get_permalink instead.
    Ligne28: <a href='<?php echo post_permalink($post->ID)?>' title='<?php echo esc_attr( $post->post_title 
    Ligne33: <h4><a href='<?php echo post_permalink($post->ID)?>' title='<?php echo esc_attr( $post->post_title 
    post_permalink found in file 2colum.php. Deprecated since version 4.4. Use get_permalink instead.
    Ligne29: <a href='<?php echo post_permalink($post->ID)?>' title='<?php echo esc_attr( $post->post_title 
    Ligne34: <h4><a href='<?php echo post_permalink($post->ID)?>' title='<?php echo esc_attr( $post->post_title 
    Ligne66: <h4><a href='<?php echo post_permalink($post->ID)?>' title='<?php echo esc_attr( $post->post_title 
    post_permalink found in file popurlar.php. Deprecated since version 4.4. Use get_permalink instead.
    Ligne28: <a href='<?php echo post_permalink($post->ID)?>' title='<?php echo esc_attr( $post->post_title 
    Ligne32: <h4><a href='<?php echo post_permalink($post->ID)?>' title='<?php echo esc_attr( $post->post_title 
  10. I18N implementation : Proper use of _e(Possible variable $name found in translation function in widgets.php. Translation function calls should not contain PHP variables. Possible variable $field_opts found in translation function in nav.php. Translation function calls should not contain PHP variables. Possible variable $opt_label found in translation function in nav.php. Translation function calls should not contain PHP variables. Possible variable $field_opts found in translation function in nav.php. Translation function calls should not contain PHP variables. Possible variable $field_opts found in translation function in nav.php. Translation function calls should not contain PHP variables.
  11. I18N implementation : Proper use of ___all(Possible variable $name found in translation function in widgets.php. Translation function calls should not contain PHP variables. Possible variable $name found in translation function in widgets.php. Translation function calls should not contain PHP variables.
  12. I18N implementation : Proper use of esc_html_e(Possible variable $name found in translation function in widgets.php. Translation function calls should not contain PHP variables. Possible variable $opt_label found in translation function in nav.php. Translation function calls should not contain PHP variables.
  13. Screenshot : Screenshot fileScreenshot size is 880x660px. 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.
    Ligne25: <p>&copy;<?php echo date('Y'); ?> <a href='http://www.smartaddons.com/wordpress/theme-showcase'><?php esc_html_e('Word
    Possible hard-coded links were found in the file utils.php.
    Ligne532: <a href='https://twitter.com/share' class='twitter-share-button' data-url=''. $sperm
    Possible hard-coded links were found in the file defines.php.
    Ligne30: Theme URI:         <a href='http://smartaddons.com/'>http://smartaddons.com/</a><br>
    Ligne34: Author URI:         <a href='http://smartaddons.com/'>http://smartaddons.com/</a>
    Ligne30: Theme URI:         <a href='http://smartaddons.com/'>http://smartaddons.com/</a><br>
    Ligne34: Author URI:         <a href='http://smartaddons.com/'>http://smartaddons.com/</a>
    Possible hard-coded links were found in the file nav.php.
    Ligne13: 'description' => 'Show an icon by <a href='http://fortawesome.github.com/Font-Awesome/'>Font Awesome 3.0</a>',
  2. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.php.
  3. Optional files : Presence of front page template file front-page.phpThis theme does not contain optional file front-page.php.
  4. Optional files : Presence of home template file home.phpThis theme does not contain optional file home.php.
  5. Optional files : Presence of category template file category.phpThis theme does not contain optional file category.php.
  6. Optional files : Presence of tag template file tag.phpThis theme does not contain optional file tag.php.
  7. Optional files : Presence of term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  8. Optional files : Presence of author template file author.phpThis theme does not contain optional file author.php.
  9. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  10. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  11. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  12. Use of includes : Use of include or requireThe theme appears to use include or require : init.php
    Ligne14: require_once( get_template_directory().'/lib/one-click-install/importer/rad
    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 : radium-importer.php
    Ligne340: require_once($class_wp_importer);
    Ligne355: require_once($class_wp_import);
    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 : defines.php
    Ligne20: require_once( get_template_directory().'/lib/options.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 : shortcodes.php
    Ligne2: include(get_template_directory().'/lib/shortcodes/gallery.php');
    Ligne3: include(get_template_directory().'/lib/shortcodes/skills.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 : options.php
    Ligne502: include_once (get_template_directory().'/lib/options/validation/'.$field['v
    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 : options.php
    Ligne10: require_once( get_template_directory().'/lib/options/options.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 : currency-converter.php
    Ligne12: include_once( get_template_directory(). '/lib/plugins/currency-converter/cu
    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 : nav.php
    Ligne836: include( get_template_directory().'/lib/ya-menu-select.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 : plugin-requirement.php
    Ligne3: require_once( get_template_directory().'/lib/class-tgm-plugin-activation.ph
    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