0
Validation results

yadgiri

yadgiri

WordPress 6.7 theme
0
  • THEME TYPEWordPress theme 6.7
  • FILE NAMEyadgiri.zip
  • FILE SIZE3204970 bytes
  • MD54fcb16bc961fc4d6aef18969dd338c9b
  • SHA19201733d13ce019a244f9b261a8a65e48a60bbec
  • LICENSENone
  • FILES INCLUDEDCSS, PHP, Bitmap images
  • VERSION4.1.3
  • CREATION DATE2024-05-08
  • LAST FILE UPDATE2024-05-08
  • LAST VALIDATION2024-05-08 22:41
This theme seems to be proprietary. Themecheck doesn't distribute commercial themes.
Critical alerts
  1. Presence of iframes : iframes are sometimes used to load unwanted adverts and malicious code on another site Found <iframe width="560" height="315" src="https://www.youtube.com/embed/M0nEF7b0woU" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen> in file getting-started.php. 23: <iframe width='560' height='315' src='https://www.youtube.com/embed/M0nEF7bFound <iframe width="560" height="315" src="https://www.youtube.com/embed/M0nEF7b0woU" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen> in file getting-started-pro.php. 4: <iframe width='560' height='315' src='https://www.youtube.com/embed/M0nEF7b
  2. Malware : Operations on file system fopen was found in the file check.php 7: $fh = fopen( get_template_directory() . '/admin/settings.php', 'w' );fclose was found in the file check.php 8: fclose($fh);fwrite was found in the file autoload.php 12: fwrite(STDERR, $err);
  3. Admin menu : Themes should use add_theme_page() for adding admin pages. File class-tgm-plugin-activation.php : 731: $this->page_hook = call_user_func( 'add_submenu_page', $args['parent_slug'], $args['page_title'], $args['menu_tFile Settings.php : 33: add_action( $admin_menu_hook, [ $this, 'add_settings_page' ], 90 );36: public function add_settings_page() {File Settings.php : 40: $page_hook = add_submenu_page(File settings.php : 63: add_action( $admin_menu_hook, array( $this, 'add_settings_page' ), 90 );69: public function add_settings_page() {File settings.php : 73: $page_hook = add_submenu_page(File about.php : 49: add_menu_page(File about.php : 61: $about = add_submenu_page(
  4. Inapropriate constants : Use of STYLESHEETPATH Constant STYLESHEETPATH was found in the file functions.php. get_stylesheet_directory() should be used instead. 125: define( 'RWMB_DIRw', trailingslashit( STYLESHEETPATH . '/meta-box' ) );
  5. Deprecated functions : get_the_author_email get_the_author_email found in file tpl_postnew1.php. Deprecated since version 2.8. Use get_the_author_meta(&#39;email&#39;) instead.55: echo get_avatar( get_the_author_email(), '50' );get_the_author_email found in file tpl_postnew2.php. Deprecated since version 2.8. Use get_the_author_meta(&#39;email&#39;) instead.33: echo get_avatar( get_the_author_email(), '50' );get_the_author_email found in file tpl_postnew.php. Deprecated since version 2.8. Use get_the_author_meta(&#39;email&#39;) instead.42: echo get_avatar( get_the_author_email(), '50' );get_the_author_email found in file single-elai.php. Deprecated since version 2.8. Use get_the_author_meta(&#39;email&#39;) instead.21: echo get_avatar( get_the_author_email(), '80' );get_the_author_email found in file content-blog.php. Deprecated since version 2.8. Use get_the_author_meta(&#39;email&#39;) instead.18: echo get_avatar( get_the_author_email(), '50' );get_the_author_email found in file blog.php. Deprecated since version 2.8. Use get_the_author_meta(&#39;email&#39;) instead.43: echo get_avatar( get_the_author_email(), '50' );get_the_author_email found in file tpl-postnewno.php. Deprecated since version 2.8. Use get_the_author_meta(&#39;email&#39;) instead.25: echo get_avatar( get_the_author_email(), '50' );get_the_author_email found in file tpl-postnew.php. Deprecated since version 2.8. Use get_the_author_meta(&#39;email&#39;) instead.35: echo get_avatar( get_the_author_email(), '50' );get_the_author_email found in file single.php. Deprecated since version 2.8. Use get_the_author_meta(&#39;email&#39;) instead.12: echo get_avatar( get_the_author_email(), '100' );
  6. Deprecated functions : the_content_rss the_content_rss found in file tpl_moshtari.php. Deprecated since version 2.9. Use the_content_feed() instead.55: <?php the_content_rss('', TRUE, '', 60); ?>the_content_rss found in file tpl-moshtari.php. Deprecated since version 2.9. Use the_content_feed() instead.48: <?php the_content_rss('', TRUE, '', 60); ?>the_content_rss found in file single.php. Deprecated since version 2.9. Use the_content_feed() instead.175: <?php the_content_rss('', TRUE, '', 17); ?></p>the_content_rss found in file widget-posttfour.php. Deprecated since version 2.9. Use the_content_feed() instead.252: <?php the_content_rss('', TRUE, '', 17); ?></p><?php } ?>
  7. Deprecated functions : get_currentuserinfo get_currentuserinfo found in file dashboard.php. Deprecated since version 4.5. Use wp_get_current_user instead.83: get_currentuserinfo();get_currentuserinfo found in file header.php. Deprecated since version 4.5. Use wp_get_current_user instead.98: get_currentuserinfo();get_currentuserinfo found in file widget-header-one.php. Deprecated since version 4.5. Use wp_get_current_user instead.350: get_currentuserinfo();418: get_currentuserinfo();get_currentuserinfo found in file widget-header-three.php. Deprecated since version 4.5. Use wp_get_current_user instead.226: get_currentuserinfo();get_currentuserinfo found in file widget-header-one.php. Deprecated since version 4.5. Use wp_get_current_user instead.217: get_currentuserinfo();
  8. Deprecated functions : get_bloginfo get_bloginfo('url') was found in the file functions.php. Use home_url() instead.51: $homeLink = get_bloginfo('url');
  9. Deprecated functions : bloginfo bloginfo('url') was found in the file header.php. Use echo esc_url( home_url() ) instead.77: <form class='search' method='get' action='<?php bloginfo('url'); ?>'>bloginfo('url') was found in the file single.php. Use echo esc_url( home_url() ) instead.61: <input id='myInput' value='<?php bloginfo('url'); ?>/?p=<?php the_ID(); ?>'>bloginfo('url') was found in the file single-product.php. Use echo esc_url( home_url() ) instead.334: <img src='<?php bloginfo('url'); ?>/wp-content/themes/yadgiri/img/sup.png'>678: <input type='text' class='link-kootah' value='<?php bloginfo('url'); ?>/?p=<?php the_ID(); ?>' id='inputfa'>bloginfo('url') was found in the file widget-header-three.php. Use echo esc_url( home_url() ) instead.205: <form class='search' method='get' action='<?php bloginfo('url'); ?>'>bloginfo('url') was found in the file widget-header-one.php. Use echo esc_url( home_url() ) instead.196: <form class='search' method='get' action='<?php bloginfo('url'); ?>'>
Warning
  1. theme tags : Presence of bad theme tagsFound wrong tag in 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 yadgiri.
  3. Text domain : Incorrect use of translation functions.Found a translation function that has an incorrect number of arguments. Function _n, with the arguments '%s download remaining', '%s downloads remaining', downloads_remaining, 'woocommerce' in file downloads.php.Found a translation function that has an incorrect number of arguments. Function _n, with the arguments '%s download remaining', '%s downloads remaining', downloads_remaining, 'woocommerce' in file my-downloads.php.Found a translation function that is missing a text-domain. Function _n, with the arguments '%d ', '%d ' in file header.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'قبلی' in file blog.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'بعدی' in file blog.php.Found a translation function that is missing a text-domain. Function _n, with the arguments '%d ', '%d ' in file widget-header-one.php.Found a translation function that is missing a text-domain. Function _n, with the arguments '%d ', '%d ' in file widget-header-three.php.Found a translation function that is missing a text-domain. Function _n, with the arguments '%d ', '%d ' in file widget-header-one.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'فهرست سربرگ' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'منو فوتر' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'برگه' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Search for:' in file functions.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 yadgiri, woocommerce, twentyseventeen, studiare, downloads_remaining, , woolentor, plugin-domain, your-plugin, elementor, plugin-name, textdomain, text-domain, donya, tgmpa, meta-box, metabox-online-generator, online-generator, moshtari, elai.
  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. Fundamental theme elements : Presence of add_theme_support()Could not find add_theme_support( 'automatic-feed-links' ).
  6. Fundamental theme elements : Presence of wp_list_comments()Could not find wp_list_comments.
  7. Fundamental theme elements : Presence of comment_form()Could not find comment_form.
  8. 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.
  9. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  10. Custom elements : Presence of custom backgroundNo reference to custom background was found in the theme.
  11. Editor style : Presence of editor styleNo reference to add_editor_style() was found in the theme. It is recommended that the theme implements editor styling, so as to make the editor content match the resulting post output in the theme, for a better user experience.
  12. Featured image : Use of add_theme_support( 'post-thumbnails' ) in functions.php fileNo reference to post-thumbnails was found in the theme.
  13. CSS files : Presence of license typeLicense: is missing from style.css header.
  14. CSS files : Presence of license urlLicense URI: is missing from style.css header.
  15. 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.
  16. Date and time implementation : Use of the_time()At least one hard coded date was found in the file tpl_postnew1.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file tpl_postnew2.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file tpl_postnew.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file tpl_post.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file single-elai.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file dashboard.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file content-blog.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file tpl-blog.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file moshtari.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file tpl-post.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file tpl-postnewno.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file tpl-postnew.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file single.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file single-moshtari.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file widget-post.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file widget-posttfour.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file widget-posttwo.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file widget-list.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file widget-postthree.php. Function get_option( 'date_format' ) should be used instead.
  17. Screenshot : Screenshot fileScreenshot is wrong size! Detected: 1663x1384px. Maximum allowed size is 1200x900px.Screenshot dimensions are wrong! Detected: 1663x1384px (1663:1384). Ratio of width to height should be 4:3.Bad screenshot file extension ! File screenshot.png is not an actual JPG file. Detected type was : "image/png".
Tip-off
  1. Mandatory files : Presence of file comments.phpCould not find file comments.php in the theme.
  2. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.php.
  3. Optional files : Presence of comments template file comments.phpThis theme does not contain optional file comments.php.
  4. Optional files : Presence of home template file home.phpThis theme does not contain optional file home.php.
  5. Optional files : Presence of single post template file single.phpThis theme does not contain optional file comments.php.
  6. Optional files : Presence of category template file category.phpThis theme does not contain optional file category.php.
  7. Optional files : Presence of tag template file tag.phpThis theme does not contain optional file tag.php.
  8. Optional files : Presence of author template file author.phpThis theme does not contain optional file author.php.
  9. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  10. Use of includes : Use of include or requireThe theme appears to use include or require : elmentormehr.php 19: require_once( __DIR__ . '/widget-product-one.php');20: require_once( __DIR__ . '/widget-product-two.php');21: require_once( __DIR__ . '/widget-product-three.php');22: require_once( __DIR__ . '/widget-product-four.php');23: require_once( __DIR__ . '/widget-product-five.php');24: require_once( __DIR__ . '/widget-product-six.php');25: require_once( __DIR__ . '/widget-product-seven.php');26: require_once( __DIR__ . '/widget-product-seven.php');27: require_once( __DIR__ . '/product/widget-product.php');28: require_once( __DIR__ . '/widget-product-offer.php');29: require_once( __DIR__ . '/widget-product-offer-three.php');30: require_once( __DIR__ . '/widget-product-offer-four.php');31: require_once( __DIR__ . '/widget-product-offer-five.php');32: require_once( __DIR__ . '/widget-post.php'); 33: require_once( __DIR__ . '/widget-posttwo.php'); 34: require_once( __DIR__ . '/widget-postthree.php'); 35: require_once( __DIR__ . '/widget-posttfour.php'); 36: require_once( __DIR__ . '/widget-postfive.php'); 37: require_once( __DIR__ . '/widget-lahze.php'); 38: require_once( __DIR__ . '/widget-box.php');39: require_once( __DIR__ . '/widget-catagory.php');40: require_once( __DIR__ . '/widget-catagorytwo.php');41: require_once( __DIR__ . '/widget-catagorythree.php');42: require_once( __DIR__ . '/widget-boxone.php');43: require_once( __DIR__ . '/widget-boxtwo.php');44: require_once( __DIR__ . '/widget-image.php');45: require_once( __DIR__ . '/widget-search.php');46: require_once( __DIR__ . '/widget-searchtwo.php');47: require_once( __DIR__ . '/widget-searchthree.php');48: require_once( __DIR__ . '/widget-slide.php');49: require_once( __DIR__ . '/widget-moshtari.php');50: require_once( __DIR__ . '/widget-moshtari-two.php');51: require_once( __DIR__ . '/general/widget-moshtari.php');52: require_once( __DIR__ . '/widget-amar.php');53: require_once( __DIR__ . '/widget-amartwo.php');54: require_once( __DIR__ . '/widget-header-one.php');55: require_once( __DIR__ . '/widget-header-three.php');56: require_once( __DIR__ . '/widget-header-two.php');59: require_once( __DIR__ . '/header/widget-header-one.php');60: require_once( __DIR__ . '/header/widget-header-search.php');63: require_once( __DIR__ . '/blog/widget-post.php');64: require_once( __DIR__ . '/blog/widget-single-post.php');65: require_once( __DIR__ . '/blog/widget-list-post.php');66: require_once( __DIR__ . '/blog/widget-list.php');71: require_once( __DIR__ . '/course/widget-dore.php');72: require_once( __DIR__ . '/course/widget-dorefree.php');73: require_once( __DIR__ . '/course/widget-title.php');74: require_once( __DIR__ . '/course/widget-download.php');75: require_once( __DIR__ . '/course/widget-downloads.php');76: require_once( __DIR__ . '/course/widget-titletwo.php');77: require_once( __DIR__ . '/course/widget-modares.php');78: require_once( __DIR__ . '/course/widget-psh.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 : autoloader.php 45: $this->require( $file );49: private function require( string $file ) { 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