0
Validation results

NewsMag by MyThemeShop

NewsMag by MyThemeShop

WordPress 6.7 theme
0
This theme seems to be proprietary. Themecheck doesn't distribute commercial themes.
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.
  2. Security breaches : Use of eval() Found eval in file widget-recentposts.php. 160: $eval_result = eval('?>'.$widget_output_template);
  3. Security breaches : Modification of PHP server settings Found ini_set in file radium-importer.php. 750: ini_set('max_execution_time', -1);752: ini_set('max_execution_time', $max_execution_time);Found ini_set in file wordpress-importer.php. 106: ini_set('max_execution_time', -1);132: ini_set('max_execution_time', $max_execution_time);
  4. Security breaches : Use of base64_encode() Found base64_encode in file twitteroauth.php.
     return base64_encode(hash_hmac('sha1', $signatureBase, $key, true));
     $parameters['media'] = base64_encode($file);
     'media_data' => base64_encode(fread($media, $this->chunkSize))
     return base64_encode($key . ':' . $secret);
  5. Presence of iframes : iframes are sometimes used to load unwanted adverts and malicious code on another site Found <iframe class="youtube-player" type="text/html" width="640" height="360" src="https://www.youtube.com/embed/NgeaqIy2OB0?version=3&amp;rel=1&amp;fs=1&amp;autohide=2&amp;showsearch=0&amp;showinfo=1&amp;iv_load_policy=1&amp;wmode=transparent" allowfullscreen="true" style="border:0;"> in file rm-seo.php. 783: <span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='640' height='360' srFound <iframe src="http://www.facebook.com/plugins/likebox.php?href=<?php echo urlencode($page_url); ?> in file widget-fblikebox.php. 59: <iframe src='http://www.facebook.com/plugins/likebox.php?href=<?php echo ur
  6. Malware : Operations on file system file_get_contents was found in the file radium-importer.php 296: $data = file_get_contents( $file );417: $data = file_get_contents( $file );file_get_contents was found in the file radium-importer.php 296: $data = file_get_contents( $file );417: $data = file_get_contents( $file );file_get_contents was found in the file parsers.php 68: $contents = file_get_contents( $file );275: if ( ! xml_parse( $xml, file_get_contents( $file ), true ) ) {file_get_contents was found in the file parsers.php 68: $contents = file_get_contents( $file );275: if ( ! xml_parse( $xml, file_get_contents( $file ), true ) ) {fopen was found in the file parsers.php 421: $fp = $this->fopen( $file, 'r' );647: function fopen( $filename, $mode = 'r' ) {650: return fopen( $filename, $mode );fclose was found in the file parsers.php 470: $this->fclose($fp);665: function fclose( $fp ) {668: return fclose( $fp );fopen was found in the file parsers.php 421: $fp = $this->fopen( $file, 'r' );647: function fopen( $filename, $mode = 'r' ) {650: return fopen( $filename, $mode );fopen was found in the file parsers.php 421: $fp = $this->fopen( $file, 'r' );647: function fopen( $filename, $mode = 'r' ) {650: return fopen( $filename, $mode );fclose was found in the file parsers.php 470: $this->fclose($fp);665: function fclose( $fp ) {668: return fclose( $fp );fclose was found in the file parsers.php 470: $this->fclose($fp);665: function fclose( $fp ) {668: return fclose( $fp );file_get_contents was found in the file twitteroauth.php 1061: ($file = file_get_contents($parameters['media'])) === false) {fopen was found in the file twitteroauth.php 1081: $media = fopen($parameters['media'], 'rb');fread was found in the file twitteroauth.php 1087: 'media_data' => base64_encode(fread($media, $this->chunkSize))fclose was found in the file twitteroauth.php 1090: fclose($media);file_get_contents was found in the file plugin-activation.php 2429: $plugin = @json_decode( @file_get_contents( 'https://api.wordpress.org/plugins/info/1.0/' . $item['s
  7. Malware : Network operations curl_init was found in the file twitteroauth.php 1310: $curlHandle = curl_init();curl_exec was found in the file twitteroauth.php 1312: $response = curl_exec($curlHandle);
  8. Admin menu : Themes should use add_theme_page() for adding admin pages. File theme-options.php : 118: //the list of available parent menus is available here: http://codex.wordpress.org/Function_Reference/add_submenu_page#ParametersFile options.php : 203: $this->page = add_submenu_page(File options.php : 212: $this->page = add_menu_page(File plugin-activation.php : 647: $this->page_hook = call_user_func( 'add_{$type}_page', $args['parent_slug'], $args['page_title'], $args['menu_tFile plugin-activation.php : 4003: add_menu_page(
  9. Deprecated functions : get_option get_option( 'home' ) was found in the file support.php. Use home_url() instead.208: 'home_url' => get_option( 'home' ),
Warning
  1. core scripts deregistered : Core scripts deregistrationFound wp_deregister_script in functions.php. Themes must not deregister core scripts. 51: wp_deregister_script('jquery');55: wp_deregister_script('jquery-ui');
  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 newsmag-by-mythemeshop.
  4. Text domain : Incorrect use of translation functions.Found a translation function that has an incorrect number of arguments. Function __, with the arguments '&larr; ', Older posts, 'mythemeshop' in file index.php.Found a translation function that has an incorrect number of arguments. Function __, with the arguments 'Newer posts', &rarr;, 'mythemeshop' in file index.php.Found a translation function that has an incorrect number of arguments. Function __, with the arguments '&larr; ', Older posts, 'mythemeshop' in file archive.php.Found a translation function that has an incorrect number of arguments. Function __, with the arguments 'Newer posts', &rarr;, 'mythemeshop' in file archive.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Rank Math SEO' in file rm-seo.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'No Comments' in file widget-tabs.php.Found a translation function that is missing a text-domain. Function __, with the arguments '1 Comment' in file widget-tabs.php.Found a translation function that is missing a text-domain. Function __, with the arguments '% Comments' in file widget-tabs.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Comments off' in file widget-tabs.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'No Comments' in file widget-tabs.php.Found a translation function that is missing a text-domain. Function __, with the arguments '1 Comment' in file widget-tabs.php.Found a translation function that is missing a text-domain. Function __, with the arguments '% Comments' in file widget-tabs.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Comments off' in file widget-tabs.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 mythemeshop, Older posts, &rarr;, nhp-opts, framework.
  5. Unwanted directories : GIT revision control directoryA.git was found.
  6. Unwanted files : Windows thumbnail storethumbs.db was found.
  7. Unwanted files : hidden file(s) or folder(s).gitignore was found.
  8. Hidden admin bar : Hidden admin Bar in CSSThemes should not hide admin bar. Detected in file admin.css.
  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. CSS files : Presence of license typeLicense: is missing from style.css header.
  13. CSS files : Presence of license urlLicense URI: is missing from style.css header.
  14. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  15. Date and time implementation : Use of the_time()At least one hard coded date was found in the file archive.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file widget-catposts.php. Function get_option( 'date_format' ) should be used instead.
  16. 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. favicon presence : Favicon managementPossible Favicon found in theme-actions.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 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 search results template file search.phpThis theme does not contain optional file search.php.
  11. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  12. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  13. Use of includes : Use of include or requireThe theme appears to use include or require : theme-options.php 7: require_once( dirname( __FILE__ ) . '/options/options.php' );15: require_once( dirname( __FILE__ ) . '/options/support.php' );563: include('theme-presets.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 : radium-importer.php 239: require_once($class_wp_importer);252: require_once($class_wp_import);724: require_once($class_wp_importer);737: require_once($class_wp_import); 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 : init.php 14: require_once( dirname( __FILE__ ) . '/importer/radium-importer.php' ); //lo 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 : options.php 313: require_once($this->dir.'fields/'.$field['type'].'/field_'.$field['type'].'552: require_once($this->dir.'validation/'.$field['validate'].'/validation_'.$fi984: require_once($this->dir.'fields/'.$field['type'].'/field_'.$field['type'].' 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 : support.php 235: require_once( ABSPATH . 'wp-admin/includes/plugin.php' );256: include_once( ABSPATH . 'wp-admin/includes/plugin-install.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 : widget-tweets.php 29: //require_once('twitteroauth.php');31: if(!require_once('twitteroauth.php')){ echo '<strong>Couldn\'t find twitteroaut 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 : theme-actions.php 208: include_once( ABSPATH . 'wp-admin/includes/misc.php' );209: include_once( ABSPATH . 'wp-admin/includes/file.php' );210: include_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );211: include_once( ABSPATH . 'wp-admin/includes/plugin-install.php' );225: include_once( ABSPATH . 'wp-admin/includes/misc.php' );226: include_once( ABSPATH . 'wp-admin/includes/file.php' );227: include_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );228: include_once( ABSPATH . 'wp-admin/includes/plugin-install.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 : plugin-activation.php 4181: include( ABSPATH . 'wp-admin/includes/plugin-install.php' );4372: include( ABSPATH . 'wp-admin/includes/plugin-install.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