0
Validation results

Food Recipes 1.4.1

Free WordPress 4.9.8 theme

Food Recipes 1.4.1

Free WordPress 4.9.8 theme
0
    Error 8 : Undefined index: slug
    In /home/www/themecheck/themecheck/controllers/controller_results.php line 772
  • THEME TYPEWordPress theme 4.9.8
  • FILE NAMEFood.Recipes.WordPress.Theme.v1.4.1-GoldTheme.Net.zip
  • FILE SIZE24289924 bytes
  • MD57990b9f549e1d469dd87f30fcd6877fd
  • SHA147239d0dce78cb77344ec26de104fd88f4aea554
  • LICENSEGNU GPL 3
  • FILES INCLUDEDCSS, PHP, HTML, XML, Bitmap images, Adobe Photoshop, Adobe Illustrator
  • THEME URIhttp://foodrecipes.inspirythemes.com/
  • VERSION1.4.1
  • AUTHOR URI
  • TAGSlight, one-column, two-columns, three-columns, four-columns, right-sidebar, fixed-layout, custom-menu, full-width-template, theme-options, translation-ready
  • CREATION DATE2014-09-17
  • LAST FILE UPDATE2017-03-06
  • LAST VALIDATION2017-03-06 13:15
  • OTHER VERSIONS

    10.0.8 : 37%

    1.5.1 : 0%

    1.4.9 : 99%

    1.4.8 : 99%

    1.4.7 : 78%

    1.4.2 : 77%

Error 8 : Undefined variable: cms
In /home/www/themecheck/themecheck/controllers/controller_results.php line 818
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. Security breaches : Use of base64_decode() Found base64_decode in file OAuth.php.
    Ligne202: $decoded_sig = base64_decode($signature);
  3. Security breaches : Use of base64_encode() Found base64_encode in file OAuth.php.
     return base64_encode(hash_hmac('sha1', $base_string, $key, true));
     return base64_encode($signature);
  4. Malware : Operations on file system file_get_contents was found in the file OAuth.php
    Ligne272: file_get_contents(self::$POST_INPUT)
  5. Malware : Network operations curl_init was found in the file twitteroauth.php
    Ligne195: $ci = curl_init();
    curl_exec was found in the file twitteroauth.php
    Ligne221: $response = curl_exec($ci);
  6. Admin menu : Themes should use add_theme_page() for adding admin pages. File class-tgm-plugin-activation.php :
    Ligne329: add_submenu_page(
  7. Deprecated functions : screen_icon screen_icon found in file class-tgm-plugin-activation.php. Deprecated since version 3.8.
    Ligne365: <?php screen_icon( apply_filters( 'tgmpa_default_screen_icon', 'themes' ) ); ?>
    Ligne1490: screen_icon( apply_filters( 'tgmpa_default_screen_icon', 'themes' ) );
  8. Deprecated functions : get_currentuserinfo get_currentuserinfo found in file template-recipe-submit.php. Deprecated since version 4.5. Use wp_get_current_user instead.
    Ligne1: <?php 
    /*
    
    * Template Name: Submit Recipe 
    
    */ 
    
    $show_message = false;
    
    if( 'POST' == $_SERVER['REQUEST_METHOD'] && !empty( $_POST['action'] ) &&  $_POST['action'] == 'submit-recipe') {
    
    
    	$title = $_POST['title'];
    	$short_description = $_POST['short-description'];
    	$description = $_POST['description'].'
    	                                        [ingredients][method]';
    
    	// ADD THE FORM INPUT TO $new_recipe ARRAY
    	$new_recipe = array(
    		'post_title'	=>	$title,
    		'post_content'	=>	$description,
    		'post_excerpt'	=>	$short_description,
    		'post_status'	=>	'pending',	// Choose: publish, pending, future, draft, etc.
    		'post_type'	    =>	'recipe'
    	);
    
    	if(isset($_POST['tags']))
    		$new_recipe['tags_input'] = array($_POST['tags']);
    
    	if(is_user_logged_in())
    	{
    		global $current_user;
    		get_currentuserinfo();
    		$new_recipe['post_author'] = $current_user->ID;
    	}
  9. Post pagination : Implementation The theme doesn't have post pagination code in it. Use posts_nav_link() or paginate_links() or the_posts_pagination() or the_posts_navigation() or next_posts_link() and previous_posts_link() to add post pagination.
Warning
  1. theme tags : Presence of bad theme tagsThe tag light has been deprecated, it must be removed from style.css header.The tag fixed-layout has been deprecated, it must be removed from style.css header.
  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 food-recipes-1-4-1.
  3. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function _n_noop, with the arguments 'This theme requires the following plugin: %1$s.', 'This theme requires the following plugins: %1$s.' in file class-tgm-plugin-activation.php.Found a translation function that is missing a text-domain. Function _n_noop, with the arguments 'This theme recommends the following plugin: %1$s.', 'This theme recommends the following plugins: %1$s.' in file class-tgm-plugin-activation.php.Found a translation function that is missing a text-domain. Function _n_noop, with the arguments 'Sorry, but you do not have the correct permissions to install the %s plugin. Contact the administrator of this site for help on getting the plugin installed.', 'Sorry, but you do not have the correct permissions to install the %s plugins. Contact the administrator of this site for help on getting the plugins installed.' in file class-tgm-plugin-activation.php.Found a translation function that is missing a text-domain. Function _n_noop, with the arguments 'The following required plugin is currently inactive: %1$s.', 'The following required plugins are currently inactive: %1$s.' in file class-tgm-plugin-activation.php.Found a translation function that is missing a text-domain. Function _n_noop, with the arguments 'The following recommended plugin is currently inactive: %1$s.', 'The following recommended plugins are currently inactive: %1$s.' in file class-tgm-plugin-activation.php.Found a translation function that is missing a text-domain. Function _n_noop, with the arguments 'Sorry, but you do not have the correct permissions to activate the %s plugin. Contact the administrator of this site for help on getting the plugin activated.', 'Sorry, but you do not have the correct permissions to activate the %s plugins. Contact the administrator of this site for help on getting the plugins activated.' in file class-tgm-plugin-activation.php.Found a translation function that is missing a text-domain. Function _n_noop, with the arguments 'The following plugin needs to be updated to its latest version to ensure maximum compatibility with this theme: %1$s.', 'The following plugins need to be updated to their latest version to ensure maximum compatibility with this theme: %1$s.' in file class-tgm-plugin-activation.php.Found a translation function that is missing a text-domain. Function _n_noop, with the arguments 'Sorry, but you do not have the correct permissions to update the %s plugin. Contact the administrator of this site for help on getting the plugin updated.', 'Sorry, but you do not have the correct permissions to update the %s plugins. Contact the administrator of this site for help on getting the plugins updated.' in file class-tgm-plugin-activation.php.Found a translation function that is missing a text-domain. Function _n_noop, with the arguments 'Begin installing plugin', 'Begin installing plugins' in file class-tgm-plugin-activation.php.Found a translation function that is missing a text-domain. Function _n_noop, with the arguments 'Activate installed plugin', 'Activate installed plugins' in file class-tgm-plugin-activation.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 FoodRecipe, rwmb, FoocRecipe.
  4. Plugin territory : Plugin territory functionalitiesThe theme uses the register_post_type() function, which is plugin-territory functionality.The theme uses the add_shortcode() function. Custom post-content shortcodes are plugin-territory functionality.
  5. Unwanted files : Windows thumbnail storethumbs.db was found.
  6. 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.
  7. Deprecated functions : screen_iconscreen_icon found in file class-tgm-plugin-activation.php. Deprecated since version 3.8.
    Ligne365: <?php screen_icon( apply_filters( 'tgmpa_default_screen_icon', 'themes' ) ); ?>
    Ligne1490: screen_icon( apply_filters( 'tgmpa_default_screen_icon', 'themes' ) );
  8. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  9. CSS files : Presence of .screen-reader-text class.screen-reader-text css class is needed in your theme css. See : the Codex for an example implementation.
  10. 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. 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 category template file category.phpThis theme does not contain optional file category.php.
  5. Optional files : Presence of tag template file tag.phpThis theme does not contain optional file tag.php.
  6. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  7. Use of includes : Use of include or requireThe theme appears to use include or require : class-tgm-plugin-activation.php
    Ligne983: require_once( ABSPATH . 'wp-admin/includes/class-wp-list-table.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 : twitter-footer-widget.php
    Ligne1: <?php
    
    /********* Starting Twitter Widget for Footer *********/
    if(!class_exists('Twitter_Footer_Widget')){
        class Twitter_Footer_Widget extends WP_Widget {
    
            function Twitter_Footer_Widget(){
                $widget_ops = array( 'classname' => 'Twitter_Footer_Widget', 'description' => __('This widget shoes latest tweets from given Twitter ID', 'FoodRecipe'));
                $this->WP_Widget( 'twitter_footer_widget', __('Food Recipe: Twitter Widget', 'FoodRecipe'), $widget_ops );
            }
    
            /********* Starting Twitter Widget Function *********/
    
            function widget($args,  $instance) {
                extract($args);
    
                $title = apply_filters('widget_title', $instance['title']);
                if ( empty($title) )
                    $title = false;
    
                $twitter_id             =  $instance['twitter_id'];
                $tweets_count           =  $instance['tweets_count'];
    
                $consumer_key           = $instance['consumer_key'];
                $consumer_secret        = $instance['consumer_secret'];
                $access_token           = $instance['access_token'];
                $access_token_secret    = $instance['access_token_secret'];
    
                echo '<h2 class='w-bot-border'>'.$title.'</h2>';
    
                /* Twitter API Version 1.1 Based Code */
                $transName = 'theme_tweets';
                $cacheTime = 10;
    
                if(false === ($twitterData = get_transient($transName) ) ){
                    require_once 'twitteroauth/twitteroauth.php';
    
                    $twitterConn
    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 : twitteroauth.php
    Ligne10: require_once('OAuth.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