33
Validation results

Code Plate

Code Plate

WordPress 4.8.2 theme
33
  • THEME TYPEWordPress theme 4.8.2
  • FILE NAMEcodeplate.zip
  • FILE SIZE6415548 bytes
  • MD5da3373ae5110ae71b7f995d6604da117
  • SHA1ebff162905b9bfaff49ca4a59994e6629535cf14
  • LICENSEGNU GPL 2
  • FILES INCLUDEDCSS, PHP, XML, Bitmap images, Adobe Illustrator
  • THEME URIhttp://codeplate.us
  • VERSION1.1.1
  • AUTHOR URI
  • TAGStwo-columns, left-sidebar, right-sidebar, translation-ready
  • CREATION DATE2017-08-10
  • LAST FILE UPDATE2017-08-10
  • LAST VALIDATION2017-08-10 18:55
Critical alerts
  1. Presence of iframes : iframes are sometimes used to load unwanted adverts and malicious code on another site Found <iframe width="1280" height="720" frameborder="0" src="'.$url.'" async> in file media.php.
    Line 194: return '<div class='google-map'><iframe width='1280' height='720' frameborder='0' src=''.$url.'' async></if
    Found <iframe class="video-frame" id="video-<?php echo esc_attr( $id ) ?>-1" src="<?php echo esc_attr( $video['id'] ) ?> in file video-list.php.
    Line 63: <iframe class='video-frame' id='video-<?php echo esc_attr( $id ) ?>-1' src=
  2. Malware : Operations on file system file_get_contents was found in the file class-ocdi-helpers.php
    Line 61: $demo_import_content = file_get_contents( $demo_local_path . 'demo-content-import-file.xml' );
    Line 86: $demo_import_widgets_content = file_get_contents( $demo_local_path . 'demo-widgets-import-file.json' );
    Line 111: $demo_import_settings_content = file_get_contents( $demo_local_path . 'demo-settings-import-file.json' );
    Line 159: $demo_import_customizer_content = file_get_contents( $demo_local_path . 'demo-customizer-import-file.dat' );
    file_get_contents was found in the file class-ocdi-helpers.php
    Line 61: $demo_import_content = file_get_contents( $demo_local_path . 'demo-content-import-file.xml' );
    Line 86: $demo_import_widgets_content = file_get_contents( $demo_local_path . 'demo-widgets-import-file.json' );
    Line 111: $demo_import_settings_content = file_get_contents( $demo_local_path . 'demo-settings-import-file.json' );
    Line 159: $demo_import_customizer_content = file_get_contents( $demo_local_path . 'demo-customizer-import-file.dat' );
    file_get_contents was found in the file class-ocdi-helpers.php
    Line 61: $demo_import_content = file_get_contents( $demo_local_path . 'demo-content-import-file.xml' );
    Line 86: $demo_import_widgets_content = file_get_contents( $demo_local_path . 'demo-widgets-import-file.json' );
    Line 111: $demo_import_settings_content = file_get_contents( $demo_local_path . 'demo-settings-import-file.json' );
    Line 159: $demo_import_customizer_content = file_get_contents( $demo_local_path . 'demo-customizer-import-file.dat' );
    file_get_contents was found in the file class-ocdi-helpers.php
    Line 61: $demo_import_content = file_get_contents( $demo_local_path . 'demo-content-import-file.xml' );
    Line 86: $demo_import_widgets_content = file_get_contents( $demo_local_path . 'demo-widgets-import-file.json' );
    Line 111: $demo_import_settings_content = file_get_contents( $demo_local_path . 'demo-settings-import-file.json' );
    Line 159: $demo_import_customizer_content = file_get_contents( $demo_local_path . 'demo-customizer-import-file.dat' );
    file_get_contents was found in the file framework-admin.php
    Line 623: $cached_data = file_get_contents( $latest_data_filename );
  3. Included plugins : Zip file found Plugins are not allowed in themes. The zip file found was taqyeem.zip jannah-switcher.zip arqam-lite.zip taqyeem-predefined.zip taqyeem-buttons.zip instanow.zip jannah-extensions.zip.
Warning
  1. special URIs : Presence of bad theme tagsTheme URI and Author URI should not be the same.
  2. 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 code-plate.
  3. PHP short tags : Presence of PHP short tagsPHP short tags were found in file parsedown.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 773: if (preg_match('/^\[(.+?)\]:[ ]*<?(\S+?)>?(?:[ ]+['\'(](.+)['\')])?[ ]*$/', $Line['text'], $matches))
  4. Line endings consistency : Both DOS and UNIX style line endingsFound a mix of \r\n and \n line endings in file bbpress.css.
  5. 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.
  6. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  7. Custom elements : Presence of custom backgroundNo reference to custom background was found in the theme.
Tip-off
  1. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file framework-system-status.php.
    Line 459: echo '<mark class='error'><span class='dashicons dashicons-warning'></span> ' . sprintf( esc_html__( '%1$s - Recommended Value: %2$s. Max input vars limitation will truncate POST data such as menus. See: %3$sIncreasing max input vars limit.%4$s', 'jannah' ), $environment['php_max_input_vars'], '3000', '<a href='https://tielabs.com/go/jannah-increase-php-max-input-vars' target='_blank' 
    Possible hard-coded links were found in the file menu-limit-detector.php.
    Line 76: $message[] = sprintf( esc_html__( 'You are approaching the post variable limit imposed by your server configuration. Exceeding this limit may automatically delete menu items settings when you save. Please increase your %1$s directive in php.ini. See: %2$s Increasing max input vars limit.%3$s', 'jannah' ), '<strong>'. $key .'</strong>', '<a href='https://tielabs.com/go/jannah-increase-php-max-input-vars' target='_blank' 
    Possible hard-coded links were found in the file framework-admin.php.
    Line 834: <a href='https://twitter.com/tielabs' class='twitter-follow-button' data-size='large
  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 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 attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  7. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  8. Use of includes : Use of include or requireThe theme appears to use include or require : framework-system-status.php
    Line 249: include_once( ABSPATH . 'wp-admin/includes/plugin-install.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 : page-builder-widgets.php
    Line 490: require_once(ABSPATH . '/wp-admin/includes/widgets.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-ocdi-customizer-importer.php
    Line 138: require_once( ABSPATH . 'wp-admin/includes/media.php' );
    Line 139: require_once( ABSPATH . 'wp-admin/includes/file.php' );
    Line 140: require_once( ABSPATH . 'wp-admin/includes/image.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 : devices.php
    Line 33: require_once ( JANNAH_TEMPLATE_PATH . '/framework/functions/Mobile_Detect.p
    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 : theme-functions.php
    Line 1929: include( $located );
    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