0
Validation results

zage

zage

WordPress 4.8.1 theme
0
  • THEME TYPEWordPress theme 4.8.1
  • FILE NAMEzage.zip
  • FILE SIZE11107261 bytes
  • MD5343bc0f4f6de04a6a2a95ca66ff2a817
  • SHA1521b0b5de142bbad5081732db56bc7bc917fd783
  • LICENSEGNU GPL 2
  • FILES INCLUDEDCSS, PHP, XML, Bitmap images, Adobe Illustrator
  • VERSION1.0
  • TAGSone-column, two-columns, right-sidebar, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, flexible-header, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
  • CREATION DATE2017-05-14
  • LAST FILE UPDATE2017-05-14
  • LAST VALIDATION2017-05-14 10:14
Critical alerts
  1. Security breaches : Modification of PHP server settings Found ini_set in file importer.php.
    Line 61: @ini_set( 'max_execution_time', 300 );
    Line 64: @ini_set( 'memory_limit', '512M' );
  2. Security breaches : Use of base64_decode() Found base64_decode in file kc_wp_widget.php.
    Line 9: if( $data = json_decode( base64_decode(  $atts['data'] ) ) )
  3. Malware : Operations on file system file_get_contents was found in the file parsers.php
    Line 69: $success = $dom->loadXML( file_get_contents( $file ) );
    Line 273: if ( ! xml_parse( $xml, file_get_contents( $file ), true ) ) {
    file_get_contents was found in the file parsers.php
    Line 69: $success = $dom->loadXML( file_get_contents( $file ) );
    Line 273: if ( ! xml_parse( $xml, file_get_contents( $file ), true ) ) {
    fopen was found in the file parsers.php
    Line 421: $fp = $this->fopen( $file, 'r' );
    Line 647: function fopen( $filename, $mode = 'r' ) {
    Line 650: return fopen( $filename, $mode );
    fclose was found in the file parsers.php
    Line 470: $this->fclose($fp);
    Line 665: function fclose( $fp ) {
    Line 668: return fclose( $fp );
    fopen was found in the file parsers.php
    Line 421: $fp = $this->fopen( $file, 'r' );
    Line 647: function fopen( $filename, $mode = 'r' ) {
    Line 650: return fopen( $filename, $mode );
    fopen was found in the file parsers.php
    Line 421: $fp = $this->fopen( $file, 'r' );
    Line 647: function fopen( $filename, $mode = 'r' ) {
    Line 650: return fopen( $filename, $mode );
    fclose was found in the file parsers.php
    Line 470: $this->fclose($fp);
    Line 665: function fclose( $fp ) {
    Line 668: return fclose( $fp );
    fclose was found in the file parsers.php
    Line 470: $this->fclose($fp);
    Line 665: function fclose( $fp ) {
    Line 668: return fclose( $fp );
    file_get_contents was found in the file importer.php
    Line 141: $widgets_json = file_get_contents( $widgets_json );
    Line 175: $raw  = file_get_contents($theme_options_file);
    file_get_contents was found in the file importer.php
    Line 141: $widgets_json = file_get_contents( $widgets_json );
    Line 175: $raw  = file_get_contents($theme_options_file);
    file_get_contents was found in the file class-zage-importer-data.php
    Line 344: $try_file_get_contents = false;
    Line 365: // Try file_get_contents if body is empty.
    Line 368: $body = @file_get_contents( $url );
    fopen was found in the file class-zage-importer-data.php
    Line 367: if ( function_exists( 'ini_get' ) && ini_get( 'allow_url_fopen' ) ) {
    Line 386: $fp = fopen( $file_path, 'w' );
    fwrite was found in the file class-zage-importer-data.php
    Line 384: // If the attempt to write to the file failed, then fallback to fwrite.
    Line 387: $written = fwrite( $fp, $body );
    fclose was found in the file class-zage-importer-data.php
    Line 388: fclose( $fp );
  4. Admin menu : Themes should use add_theme_page() for adding admin pages. File class_zage_admin.php :
    Line 338: $zage_menu_page_creation_method    = 'add_menu_page';
    File class_zage_admin.php :
    Line 339: $zage_submenu_page_creation_method = 'add_submenu_page';
  5. Inapropriate constants : Use of STYLESHEETPATH Constant STYLESHEETPATH was found in the file class_zage_admin.php. get_stylesheet_directory() should be used instead.
    Line 62: //@todo refactor all code to use STYLESHEETPATH instead
  6. Inapropriate constants : Use of TEMPLATEPATH Constant TEMPLATEPATH was found in the file class_zage_admin.php. get_template_directory() should be used instead.
    Line 59: //@todo refactor all code to use TEMPLATEPATH instead
  7. Included plugins : Zip file found Plugins are not allowed in themes. The zip file found was zage-core.zip.
Warning
  1. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function esc_attr__, with the arguments in file footer.php.Found a translation function that is missing a text-domain. Function _e, with the arguments '– Show All –' in file BB_widget_block_3.php.Found a translation function that is missing a text-domain. Function _e, with the arguments '– Show All –' in file BB_widget_block_3.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Random' in file BB_widget_block_3.php.Found a translation function that is missing a text-domain. Function _e, with the arguments '– Show All –' in file BB_widget_block_4.php.Found a translation function that is missing a text-domain. Function _e, with the arguments '– Show All –' in file BB_widget_block_4.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Random' in file BB_widget_block_4.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Title:' in file BB_widget_test.php.Found a translation function that is missing a text-domain. Function _e, with the arguments '– Show All –' in file BB_widget_block_1.php.Found a translation function that is missing a text-domain. Function _e, with the arguments '– Show All –' in file BB_widget_block_1.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Random' in file BB_widget_block_1.php.Found a translation function that is missing a text-domain. Function _e, with the arguments '– Show All –' in file BB_widget_block_2.php.Found a translation function that is missing a text-domain. Function _e, with the arguments '– Show All –' in file BB_widget_block_2.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Random' in file BB_widget_block_2.php.Found a translation function that is missing a text-domain. Function _e, with the arguments '– Show All –' in file BB_custom-cat.php.Found a translation function that is missing a text-domain. Function _e, with the arguments '– Show All –' in file BB_widget_block_5.php.Found a translation function that is missing a text-domain. Function _e, with the arguments '– Show All –' in file BB_widget_block_5.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Random' in file BB_widget_block_5.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'PREV', 'zage' in file single-class.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'NEXT', 'zage' in file single-class.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 zage, kingcomposer, kirki, text_domain, tgmpa, wordpress-importer.
  2. I18N implementation : Proper use of ___all(Possible variable $footer_info found in translation function in footer.php. Translation function calls should not contain PHP variables.
    Line 96: if(! empty ($footer_info)) {echo '<div class='site-copy col-md-6'>'.esc_attr__($footer_info).'</div>';}
  3. I18N implementation : Proper use of esc_attr___all(Possible variable $footer_info found in translation function in footer.php. Translation function calls should not contain PHP variables.
    Line 96: if(! empty ($footer_info)) {echo '<div class='site-copy col-md-6'>'.esc_attr__($footer_info).'</div>';}
  4. Screenshot : Screenshot fileScreenshot dimensions are wrong! Detected: 390x150px (13:5). Ratio of width to height should be 4:3.Screenshot size is 390x150px. 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. theme tags : Presence of bad theme tagsThemes that use the tag accessibility-ready will need to undergo an accessibility review.
    See https://make.wordpress.org/themes/handbook/review/accessibility/
  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 : kc_functions.php
    Line 6: require_once (KC_HELP . '/zage_render_block.php');
    Line 7: require_once (KC_HELP . '/zage_sidebar_block.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 : blocks_x13.php
    Line 141: include( locate_template('inc/blocks/tab-parts/big-tab-'.$tabLayout.'.php')
    Line 143: include( locate_template('inc/blocks/tab-parts/big-tab-1.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 : blocks_x11.php
    Line 127: include( locate_template('inc/blocks/tab-parts/big-tab-'.$tabLayout.'.php')
    Line 129: include( locate_template('inc/blocks/tab-parts/big-tab-1.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 : blocks_template_m_2.php
    Line 153: include( locate_template('inc/blocks/tab-parts/tab-'.$tabLayoutSmall.'.php'
    Line 155: include( locate_template('inc/blocks/tab-parts/tab-1.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 : blocks_x11-bac.php
    Line 104: include( locate_template('inc/blocks/tab-parts/big-tab-'.$tabLayout.'.php')
    Line 106: include( locate_template('inc/blocks/tab-parts/big-tab-1.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 : class_zage_admin.php
    Line 368: require_once( 'welcome.php' );
    Line 378: require_once( 'support.php' );
    Line 388: require_once( 'install-demos.php' );
    Line 398: require_once( 'zage-plugins.php' );
    Line 408: require_once( 'system-status.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 : zage-walker.php
    Line 25: include_once( trailingslashit( get_template_directory() ). 'inc/extra/menu/
    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 : zage-customizer.php
    Line 23: require_once (ZAGE_CUS  . '/zage-CUS-header.php');
    Line 24: require_once (ZAGE_CUS  . '/zage-CUS-footer.php');
    Line 25: require_once (ZAGE_CUS  . '/zage-CUS-layout.php');
    Line 26: require_once (ZAGE_CUS  . '/zage-CUS-post.php');
    Line 27: require_once (ZAGE_CUS  . '/zage-CUS-fonts.php');
    Line 28: // require_once (ZAGE_CUS  . '/zage-CUS-header.php');
    Line 29: // require_once (ZAGE_CUS  . '/zage-CUS-header.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 : importer-reset.php
    Line 13: require_once( ABSPATH . '/wp-admin/includes/upgrade.php' );
    Line 60: include(ABSPATH .'/wp-load.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 : importer.php
    Line 31: include 'class-zage-importer-data.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 : class-zage-importer-data.php
    Line 215: require_once( ABSPATH . '/wp-admin/includes/file.php' );
    Line 263: require_once( ABSPATH . 'wp-admin/includes/media.php' );
    Line 264: require_once( ABSPATH . 'wp-admin/includes/file.php' );
    Line 265: require_once( ABSPATH . 'wp-admin/includes/image.php' );
    Line 351: include_once( wp_normalize_path( ABSPATH . WPINC . '/class-http.php' ) );
    Line 355: include_once( wp_normalize_path( ABSPATH . WPINC . '/http.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 : zage_load.php
    Line 22: require_once( 'zage-load-more.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 : zage_class_cat_display.php
    Line 31: include( locate_template( 'inc/content-archive/content-'.$cat_layout.'.php'
    Line 63: include( locate_template( 'inc/content-archive/cat-grid-'.$cat_grid.'.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 : zage-config.php
    Line 592: $fonts = include_once (ZAGE_CORE  . '/webfonts.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 : tab-content-all.php
    Line 20: include( locate_template('inc/blocks/tab-parts/tab-'.$tabLayout.'.php') );
    Line 22: include( locate_template('inc/blocks/tab-parts/tab-1.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 : tab-content.php
    Line 22: include( locate_template('inc/blocks/tab-parts/big-tab-'.$tabLayout.'.php')
    Line 24: include( locate_template('inc/blocks/tab-parts/big-tab-1.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