13
Validation results

ClipMyDeals

ClipMyDeals

WordPress 5.3.2 theme
13
  • THEME TYPEWordPress theme 5.3.2
  • FILE NAMEclipmydeals.zip
  • FILE SIZE1675045 bytes
  • MD5c67d7847434461bbdb1ad1e3a9fdaaf0
  • SHA1259a72eca6318852d6098509e58e44a8570cc008
  • LICENSENone
  • FILES INCLUDEDCSS, PHP
  • THEME URIhttps://clipmydeals.com
  • VERSION3.4.2
  • AUTHOR URI
  • TAGScoupon, deals, vouchers, woocommerce, blog, custom-menu, featured-images, threaded-comments, translation-ready, right-sidebar, custom-background, e-commerce, theme-options, sticky-post, full-width-template
  • CREATION DATE2019-11-16
  • LAST FILE UPDATE2019-11-16
  • LAST VALIDATION2019-11-16 14:31
  • OTHER VERSIONS

    3.3.1 : 0%

This theme seems to be proprietary. Themecheck doesn't distribute commercial themes.
Critical alerts
  1. Malware : Operations on file system fopen was found in the file pull-feed.php 98: if (($handle = fopen($feedFile, 'r')) !== FALSE) { // $feedFile is set by API or File Uplo
  2. Admin menu : Themes should use add_theme_page() for adding admin pages. File update.php : 47: add_menu_page('ClipMyDeals Setup', 'ClipMyDeals<br/>Setup', 'manage_options
  3. Inapropriate constants : Use of TEMPLATEPATH Constant TEMPLATEPATH was found in the file update.php. get_template_directory() should be used instead. 82: $theme_data = get_theme_data( TEMPLATEPATH . '/style.css');
  4. Deprecated functions : get_bloginfo get_bloginfo('url') was found in the file taxonomy-stores.php. Use home_url() instead.24: <a target='_blank' class='btn btn-secondary my-1' href='<?php echo get_bloginfo('url').'/str/'.$term->term_id.'/'; //$store_custom_fields['sto59: <a target='_blank' class='btn btn-secondary my-3' rel='nofollow' href='<?php echo get_bloginfo('url').'/str/'.$term->term_id.'/'; //$store_custom_fields['stoget_bloginfo('url') was found in the file coupon-popup.php. Use home_url() instead.53: <a target='_blank' href='<?php echo get_bloginfo('url').'/cpn/'.$id.'/'; ?>'><?= __('See Applicable Products','get_bloginfo('url') was found in the file code-list.php. Use home_url() instead.47: href='<?php echo get_bloginfo('url').'/cpn/'.$id.'/'; ?>'68: <a target='_blank' href='<?php echo get_bloginfo('url').'/cpn/'.$id.'/'; ?>'><?= __('See Applicable Products','77: onclick='setCookie('showCoupon','<?php echo $id; ?>');setCookie('storesVisited','<?php echo $_COOKIE['storesVisited'].$store_slug.'|'; ?>'); window.open(location.href.split('?')[0] + '?t=<?php echo date('ymdhis'); ?>#coupon-list-<?= $id ?>'); location.href='<?php echo get_bloginfo('url').'/cpn/'.$id.'/'; ?>';'>get_bloginfo('url') was found in the file code-grid.php. Use home_url() instead.47: href='<?php echo get_bloginfo('url').'/cpn/'.$id.'/'; ?>'63: href='<?php echo get_bloginfo('url').'/cpn/'.$id.'/'; ?>'96: <a target='_blank' href='<?php echo get_bloginfo('url').'/cpn/'.$id.'/'; ?>'><?= __('See Applicable Products','105: onclick='setCookie('showCoupon','<?php echo $id; ?>');setCookie('storesVisited','<?php echo $_COOKIE['storesVisited'].$store_slug.'|'; ?>'); window.open(location.href.split('?')[0] + '?t=<?php echo date('ymdhis'); ?>#coupon-grid-<?= $id ?>'); location.href='<?php echo get_bloginfo('url').'/cpn/'.$id.'/'; ?>';'>get_bloginfo('url') was found in the file header.php. Use home_url() instead.217: <a target='_blank' class='btn btn-secondary my-1' href='<?php echo get_bloginfo('url').'/str/'.$term->term_id.'/'; //$store_custom_fields['stoget_bloginfo('url') was found in the file update.php. Use home_url() instead.106: 'api-key' => md5(get_bloginfo('url'))108: 'user-agent' => 'WordPress/' . $wp_version . '; ' . get_bloginfo('url')
Warning
  1. special URIs : Presence of bad theme tagsTheme URI and Author URI should not be the same.
  2. theme tags : Presence of bad theme tagsFound wrong tag coupon in style.css header.Found wrong tag deals in style.css header.Found wrong tag vouchers in style.css header.Found wrong tag woocommerce in style.css header.
  3. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Offer Categories', 'taxonomy general name' in file cmd_functions.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Offer Category', 'taxonomy singular name' in file cmd_functions.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Locations', 'taxonomy general name' in file cmd_functions.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Location', 'taxonomy singular name' in file cmd_functions.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Stores', 'taxonomy general name' in file cmd_functions.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Store', 'taxonomy singular name' in file cmd_functions.php.Found a translation function that has an incorrect number of arguments. Function __, with the arguments 'Coupons', clipmydeals, 'clipmydeals' in file cmd_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 clipmydeals, tgmpa.
  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. PHP short tags : Presence of PHP short tagsPHP short tags were found in file taxonomy-stores.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.174: <h2><?= __('Recently Expired Offers','clipmydeals') ?></h2>PHP short tags were found in file coupon-print.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.57: <div class='badge badge-default mb-3'><?= (date('Y-m-d')<=get_post_meta($id, 'cmd_valid_till',true) ? __('Valid TPHP short tags were found in file coupon-grid.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.99: <div class='badge badge-<?php echo $validity_color; ?> mb-3'><?= (date('Y-m-d')<=get_post_meta($id, 'cmd_valid_till',true) ? __('Valid TPHP short tags were found in file coupon-popup.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.42: <strong><?= __('Use Code','clipmydeals') ?> : </strong>44: <span id='code-<?= $id ?>'><?php echo get_post_meta($id, 'cmd_code', true); ?></span>45: <div class='copy-box float-right d-inline mx-auto tooltip-active' style='position:absolute;top:0.06rem;right:0.1rem;' title='<?= __('Click to Copy','clipmydeals') ?>' data-toggle='tooltip' data-placem46: <div class='btn btn-secondary clipboard copy-button float-right' data-clipboard-target='#code-<?= $id ?>' onclick='jQuery('.copy-button').html('<i class=\'fa fa-copy\'><47: <i class='fa fa-copy clipboard'></i> <?= __('Copy','clipmydeals') ?>53: <a target='_blank' href='<?php echo get_bloginfo('url').'/cpn/'.$id.'/'; ?>'><?= __('See Applicable Products','clipmydeals') ?></a>65: <div class='badge badge-<?php echo $validity_color; ?> small'><?= (date('Y-m-d')<=get_post_meta($id, 'cmd_valid_till',true) ? __('Valid TPHP short tags were found in file coupon-list.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.115: <div class='badge badge-<?php echo $validity_color; ?>'><?= (date('Y-m-d')<=get_post_meta($id, 'cmd_valid_till',true) ? __('Valid TPHP short tags were found in file code-list.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.59: <strong><?= __('Use Code','clipmydeals') ?> : </strong>61: <span id='code-<?= $id ?>'><?php echo get_post_meta($id, 'cmd_code', true); ?></span>63: <i class='fa fa-copy clipboard copy-button' data-clipboard-target='#code-<?= $id ?>' onclick='jQuery('.copy-button').css('color','#6a84ab'); jQuery(68: <a target='_blank' href='<?php echo get_bloginfo('url').'/cpn/'.$id.'/'; ?>'><?= __('See Applicable Products','clipmydeals') ?></a>77: onclick='setCookie('showCoupon','<?php echo $id; ?>');setCookie('storesVisited','<?php echo $_COOKIE['storesVisited'].$store_slug.'|'; ?>'); window.open(location.href.split('?')[0] + '?t=<?php echo date('ymdhis'); ?>#coupon-list-<?= $id ?>'); location.href='<?php echo get_bloginfo('url').'/cpn/'.$id.'/'PHP short tags were found in file code-grid.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.70: <strong><?= __('Use Code','clipmydeals') ?> : </strong>72: <span id='code-<?= $id ?>'><?php echo get_post_meta($id, 'cmd_code', true); ?></span>73: <div class='copy-box float-right d-inline mx-auto tooltip-active' style='position:absolute;top:0.06rem;right:0.1rem;' title='<?= __('Click to Copy','clipmydeals') ?>' data-toggle='tooltip' data-placem74: <div class='btn btn-secondary clipboard copy-button float-right' data-clipboard-target='#code-<?= $id ?>' onclick='jQuery('.copy-button').html('<i class=\'fa fa-copy\'><75: <i class='fa fa-copy clipboard'></i> <?= __('Copy','clipmydeals') ?>85: <strong><?= __('Use Code','clipmydeals') ?> : </strong>87: <span id='code-<?= $id ?>'><?php echo get_post_meta($id, 'cmd_code', true); ?></span>88: <div class='copy-box float-right d-inline mx-auto tooltip-active' style='position:absolute;top:0.06rem;right:0.1rem;' title='<?= __('Click to Copy','clipmydeals') ?>' data-toggle='tooltip' data-placem89: <div class='btn btn-secondary clipboard copy-button float-right' data-clipboard-target='#code-<?= $id ?>' onclick='jQuery('.copy-button').html('<i class=\'fa fa-copy\'><90: <i class='fa fa-copy clipboard'></i> <?= __('Copy','clipmydeals') ?>96: <a target='_blank' href='<?php echo get_bloginfo('url').'/cpn/'.$id.'/'; ?>'><?= __('See Applicable Products','clipmydeals') ?></a>105: onclick='setCookie('showCoupon','<?php echo $id; ?>');setCookie('storesVisited','<?php echo $_COOKIE['storesVisited'].$store_slug.'|'; ?>'); window.open(location.href.split('?')[0] + '?t=<?php echo date('ymdhis'); ?>#coupon-grid-<?= $id ?>'); location.href='<?php echo get_bloginfo('url').'/cpn/'.$id.'/'PHP short tags were found in file taxonomy-offer_categories.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.138: <h2><?= __('Recently Expired Offers','clipmydeals') ?></h2>PHP short tags were found in file taxonomy-locations.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.128: <h2><?= __('Recently Expired Offers','clipmydeals') ?></h2>PHP short tags were found in file searchform.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.10: <input class='form-control w-100' type='text' name='s' id='v-search' placeholder='<?= __('Search','clipmydeals') ?>...' value='<?php echo $_GET['s']; ?>' />85: <button type='submit' class='btn btn-primary btn-block'><?= __('Search','clipmydeals') ?> <i class='fa fa-search'></i></button>PHP short tags were found in file cmd_widgets.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.62: <div class='card-footer text-center py-1'><small><?php echo $store->count ?> <?= __('Offers','clipmydeals') ?></small></div>524: <input class='form-control w-100' type='text' name='s' id='v-search' placeholder='<?= __('Search','clipmydeals') ?>...' value='<?php echo $_GET['s']; ?>' />590: <button type='submit' class='btn btn-primary btn-block'><?= __('Search','clipmydeals') ?> <i class='fa fa-search'></i></button>PHP short tags were found in file update.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.59: <input type='checkbox' name='cmd_old_header' id='cmd_old_header' value='1' <?= (get_option('cmd_old_header') ? 'checked' : '') ?>>
  6. CSS files : Presence of license typeLicense: is missing from style.css header.
  7. CSS files : Presence of license urlLicense URI: is missing from style.css header.
Tip-off
  1. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file cmd_functions.php.26: echo '<li><a href='edit.php?post_type=coupons'>'.$num.' Coupons</a></li>';33: echo '<li><a href='edit-tags.php?taxonomy=stores&post_type=coupons'>'.$store_count.' Stores</a40: echo '<li><a href='edit-tags.php?taxonomy=offer_categories&post_type=coupons'>'.$cat_count.' O48: echo '<li><a href='edit-tags.php?taxonomy=locations&post_type=coupons'>'.$loc_count.' LocationPossible hard-coded links were found in the file main.php.243: <small><i>NOTE: If you are using a shared-server, your server may time-out in case of large files. We recommend you split such files into multiple files of ~500 coupons each. Advance plan users can make use of our <a href='https://myaccount.linkmydeals.com/csv_splitter.php' target='_blank'>CSV Spl
  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 home template file home.phpThis theme does not contain optional file home.php.
  5. Optional files : Presence of category template file category.phpThis theme does not contain optional file category.php.
  6. Optional files : Presence of tag template file tag.phpThis theme does not contain optional file tag.php.
  7. Optional files : Presence of term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  8. Optional files : Presence of author template file author.phpThis theme does not contain optional file author.php.
  9. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  10. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  11. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  12. Use of includes : Use of include or requireThe theme appears to use include or require : linkmydeals.php 69: require_once(ABSPATH.'wp-admin/includes/file.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 : main.php 44: require_once(ABSPATH.'wp-admin/includes/file.php');58: include 'saveFileToDb.php';60: include 'processBatch.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