12
Validation results

AFFINGER4

AFFINGER4

WordPress 4.9.5 theme
12
  • THEME TYPEWordPress theme 4.9.5
  • FILE NAMEaffinger4.zip
  • FILE SIZE1161471 bytes
  • MD5eee3ad66eef18695fa79791ea59930a6
  • SHA142ca1c999cee21ac77f01545753a52ed73255ac9
  • LICENSENone
  • FILES INCLUDEDCSS, PHP, Bitmap images
  • VERSION20171120
  • TAGScustom-header, custom-menu
  • CREATION DATE2018-01-08
  • LAST FILE UPDATE2018-01-13
  • LAST VALIDATION2018-01-13 14:34
  • OTHER VERSIONS

    20171012 : 12%

Critical alerts
  1. Customizer : Sanitization of Customizer settings Found a Customizer setting that did not have a sanitization callback function in file st-theme-customization.php. Every call to the add_setting() method needs to have a sanitization callback function passed.
  2. Admin menu : Themes should use add_theme_page() for adding admin pages. File st-rankcss-kanri.php :
    Line 82: add_menu_page(
    File st-af-kanri.php :
    Line 67: add_menu_page(
    File st-af-kanri.php :
    Line 75: add_submenu_page(
    File st-kanri.php :
    Line 242: add_menu_page(
    File st-kanri.php :
    Line 250: add_submenu_page(
  3. Inapropriate constants : Use of HEADER_IMAGE_WIDTH Constant HEADER_IMAGE_WIDTH; was found in the file st-header-image.php. add_theme_support( 'custom-header' ) should be used instead.
    Line 71: <img src='<?php echo esc_url($header['url']); ?>' width='<?php echo HEADER_IMAGE_WIDTH; ?>' height='<?php echo HEADER_IMAGE_HEIGHT; ?>' >
    Line 84: <img src='<?php echo esc_url($header['url']); ?>' width='<?php echo HEADER_IMAGE_WIDTH; ?>' height='<?php echo HEADER_IMAGE_HEIGHT; ?>' >
    Line 124: <img src='<?php header_image(); ?>' width='<?php echo HEADER_IMAGE_WIDTH; ?>' height='<?php echo HEADER_IMAGE_HEIGHT; ?>' >
    Line 135: <img src='<?php header_image(); ?>' width='<?php echo HEADER_IMAGE_WIDTH; ?>' height='<?php echo HEADER_IMAGE_HEIGHT; ?>' >
  4. Inapropriate constants : Use of HEADER_IMAGE_HEIGHT Constant HEADER_IMAGE_HEIGHT; was found in the file st-header-image.php. add_theme_support( 'custom-header' ) should be used instead.
    Line 71: <img src='<?php echo esc_url($header['url']); ?>' width='<?php echo HEADER_IMAGE_WIDTH; ?>' height='<?php echo HEADER_IMAGE_HEIGHT; ?>' >
    Line 84: <img src='<?php echo esc_url($header['url']); ?>' width='<?php echo HEADER_IMAGE_WIDTH; ?>' height='<?php echo HEADER_IMAGE_HEIGHT; ?>' >
    Line 124: <img src='<?php header_image(); ?>' width='<?php echo HEADER_IMAGE_WIDTH; ?>' height='<?php echo HEADER_IMAGE_HEIGHT; ?>' >
    Line 135: <img src='<?php header_image(); ?>' width='<?php echo HEADER_IMAGE_WIDTH; ?>' height='<?php echo HEADER_IMAGE_HEIGHT; ?>' >
Warning
  1. core scripts deregistered : Core scripts deregistrationFound wp_deregister_script in functions.php. Themes must not deregister core scripts.
    Line 44: wp_deregister_script( 'jquery' );
  2. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function __, with the arguments 'Pages:' in file st-kai-page.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Next page' in file st-kai-page.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Previous page' in file st-kai-page.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'First page' in file st-kai-page.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Last page' in file st-kai-page.php.Found a translation function that is missing a text-domain. Function __, with the arguments '' in file st-theme-customization.php.Found a translation function that is missing a text-domain. Function esc_attr_e, with the arguments in file functions-amp.php.Found a translation function that is missing a text-domain. Function esc_attr_e, with the arguments in file functions-amp.php.Found a translation function that is missing a text-domain. Function esc_attr_e, with the arguments in file functions-amp.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 st-ogp.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 default, .
  3. Cdn : Use of CDNFound the URL of a CDN in the code: maxcdn.bootstrapcdn.com/font-awesome. CSS or Javascript resources should not be loaded from a CDN. These resources should be bundled with the theme.
  4. Plugin territory : Plugin territory functionalitiesThe theme uses the add_shortcode() function. Custom post-content shortcodes are plugin-territory functionality.
  5. I18N implementation : Proper use of _e(Possible variable $meta_key found in translation function in functions-amp.php. Translation function calls should not contain PHP variables.
    Line 205: <label for='<?php esc_attr_e( $meta_key ); ?>' class='selectit'>
    Line 206: <input name='<?php esc_attr_e( $meta_key ); ?>' type='checkbox'
    Line 207: id='<?php esc_attr_e( $meta_key ); ?>'
    Possible variable $meta_key found in translation function in functions-amp.php. Translation function calls should not contain PHP variables.
    Line 205: <label for='<?php esc_attr_e( $meta_key ); ?>' class='selectit'>
    Line 206: <input name='<?php esc_attr_e( $meta_key ); ?>' type='checkbox'
    Line 207: id='<?php esc_attr_e( $meta_key ); ?>'
    Possible variable $meta_key found in translation function in functions-amp.php. Translation function calls should not contain PHP variables.
    Line 205: <label for='<?php esc_attr_e( $meta_key ); ?>' class='selectit'>
    Line 206: <input name='<?php esc_attr_e( $meta_key ); ?>' type='checkbox'
    Line 207: id='<?php esc_attr_e( $meta_key ); ?>'
  6. I18N implementation : Proper use of esc_attr_e(Possible variable $meta_key found in translation function in functions-amp.php. Translation function calls should not contain PHP variables.
    Line 205: <label for='<?php esc_attr_e( $meta_key ); ?>' class='selectit'>
    Line 206: <input name='<?php esc_attr_e( $meta_key ); ?>' type='checkbox'
    Line 207: id='<?php esc_attr_e( $meta_key ); ?>'
    Possible variable $meta_key found in translation function in functions-amp.php. Translation function calls should not contain PHP variables.
    Line 205: <label for='<?php esc_attr_e( $meta_key ); ?>' class='selectit'>
    Line 206: <input name='<?php esc_attr_e( $meta_key ); ?>' type='checkbox'
    Line 207: id='<?php esc_attr_e( $meta_key ); ?>'
    Possible variable $meta_key found in translation function in functions-amp.php. Translation function calls should not contain PHP variables.
    Line 205: <label for='<?php esc_attr_e( $meta_key ); ?>' class='selectit'>
    Line 206: <input name='<?php esc_attr_e( $meta_key ); ?>' type='checkbox'
    Line 207: id='<?php esc_attr_e( $meta_key ); ?>'
  7. CSS files : Presence of license urlLicense URI: is missing from style.css header.
  8. Screenshot : Screenshot fileBad screenshot file extension ! File screenshot.png is not an actual JPG file. Detected type was : "image/png".
Tip-off
  1. favicon presence : Favicon managementPossible Favicon found in functions.php. Favicons are handled by the Site Icon setting in the customizer since version 4.3.Possible Favicon found in page-redirect.php. Favicons are handled by the Site Icon setting in the customizer since version 4.3.
  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 tag template file tag.phpThis theme does not contain optional file tag.php.
  5. Optional files : Presence of term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  6. Optional files : Presence of author template file author.phpThis theme does not contain optional file author.php.
  7. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  8. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  9. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  10. Use of includes : Use of include or requireThe theme appears to use include or require : st-themecss-loader.php
    Line 8: include_once( dirname( __FILE__ ) . '/../../../wp-load.php' );
    Line 10: require( dirname( __FILE__ ) . '/st-themecss-variables.php' );
    Line 12: include( dirname( __FILE__ ) . '/st-themecss.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 : st-theme-customization.php
    Line 5983: require( dirname( __FILE__ ) . '/st-themecss-variables.php' ); // カスタ
    Line 5987: <?php include( dirname( __FILE__ ) . '/st-themecss.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 : single.php
    Line 3: include(TEMPLATEPATH . '/single-type2.php');
    Line 5: include(TEMPLATEPATH . '/single-type1.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 : st-kanricss.php
    Line 3: include_once(dirname( __FILE__ ) . '/../../../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 : st-rankcss.php
    Line 3: include_once(dirname( __FILE__ ) . '/../../../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.
Other checked themes