15
Validation results

BBC Child Theme Updated

BBC Child Theme Updated

WordPress 6.6.1 theme
15
  • THEME TYPEWordPress child theme 6.6.1
  • FILE NAMEbbc-child.zip
  • FILE SIZE35759738 bytes
  • MD595e77bb085dc28abc6f423965cd7e29e
  • SHA18baa85f0be406838840e069e4800e8f07461d232
  • LICENSEGNU GPL 2
  • FILES INCLUDEDCSS, PHP, XML, Bitmap images, Adobe Illustrator
  • THEME URIhttps://understrap.com
  • VERSION1.0.34
  • AUTHOR URI
  • TAGSone-column, custom-menu, featured-images, theme-options, translation-ready
  • CREATION DATE2024-05-14
  • LAST FILE UPDATE2024-05-14
  • LAST VALIDATION2024-05-14 15:04
This theme seems to be proprietary. Themecheck doesn't distribute commercial themes.
Critical alerts
  1. Unwanted files : hidden file(s) or folder(s) .gitattributes .git was found.
  2. Presence of iframes : iframes are sometimes used to load unwanted adverts and malicious code on another site Found <iframe src="" type="text/html" id="<?=esc_attr( trim( $video_id ) )?> in file modal.php. 252: <iframe src='' type='text/html' id='<?=esc_attr( trim( $video_id ) )?>'></i
  3. Malware : Operations on file system file_get_contents was found in the file schema.php 75: $schema_content = file_get_contents($upload_schema_json);
  4. Malware : Network operations curl_init was found in the file global-functions.php 148: $handle = curl_init($image_mobile . '.webp');184: $handle = curl_init($image . '.webp');curl_exec was found in the file global-functions.php 152: $response = curl_exec($handle);188: $response = curl_exec($handle);curl_init was found in the file global-functions.php 148: $handle = curl_init($image_mobile . '.webp');184: $handle = curl_init($image . '.webp');curl_exec was found in the file global-functions.php 152: $response = curl_exec($handle);188: $response = curl_exec($handle);
Warning
  1. core scripts deregistered : Core scripts deregistrationFound wp_deregister_script in functions.php. Themes must not deregister core scripts. 21: wp_deregister_script( 'understrap-scripts' );204: wp_deregister_script( 'jquery');
  2. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function esc_html__, with the arguments 'View More' in file load-more-button.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Top Menu' in file menus.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Top Menu Left' in file menus.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Top Menu Right' in file menus.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Footer Menu 1' in file menus.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Footer Menu 2' in file menus.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 understrap, bbc.
  3. Plugin territory : Plugin territory functionalitiesThe theme uses the add_shortcode() function. Custom post-content shortcodes are plugin-territory functionality.
  4. Unwanted directories : GIT revision control directoryA.git was found.
  5. PHP short tags : Presence of PHP short tagsPHP short tags were found in file header.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.50: <header class='<?=$header_style?>' id='wrapper-navbar'>PHP short tags were found in file content-title.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.112: <div class='container post-title wp-block-cover alignfull element-container <?=$container_classes;?>' style='<?=$container_styles?>'>123: <div class='row wp-block-cover__inner-container <?=$row_classes;?>' style='<?=$row_styles?>'>124: <h1 class='<?=$title_classes?>' style='<?=$title_styles?>'><?=$title?></h1>147: <div class='element <?=$text_classes;?>'>148: <?=$title_content['text']?>PHP short tags were found in file divider.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: <div class='<?=esc_attr($divider_classes)?>' style='<?=esc_attr($divider_styles)?>'></dPHP short tags were found in file tabs.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.127: #<?=$tabs_id?> .nav-link {133: #<?=$tabs_id?> .nav-link.active {139: #<?=$tabs_id?>-content .tab-text {148: <div class='<?=$tabs_wrapper_classes?>'>150: <ul class='<?=$tabs_classes?>' id='<?=$tabs_id?>' role='tablist'>160: <li class='<?=$nav_item_classes?>' role='presentation'>161: <button class='<?=$button_classes?> <?=$active?>' id='tab<?=$tab_count?>-tab' data-bs-togg163: <<?=$tag?> class='<?=$heading_classes?>'><?=$tab['heading']['text']?></<?=$t181: <div class='<?=$tab_content_classes?>' id='<?=$tabs_id?>-content'>203: <div class='<?=$tab_pane_classes?> <?=$active?> <?=$show?>' id='tab<?=$tab_count?>' rol204: <div class='<?=$tab_content_inner_classes?>'>215: <div class='<?=$show_image?>'>216: <div class='<?=$tab_image_inner_classes?>' style='background: url(<?php echo esc_url($t220: <div class='<?=$tab_text_classes?><?=$has_image?>'>PHP short tags were found in file post-carousel.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.52: <a href='<?php echo $link; ?>' title='<?=$title?>'>53: <img src='<?=$image?>' class='card-img-top' alt='<?=$title?>'>55: <h5 class='card-title'><?=$title?></h5>56: <span class='card-text'><?=$excerpt?></span>PHP short tags were found in file image.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.83: <<?=$link_wrapper_tag?> class='<?=$classes?>'>84: <img src='<?=$thumb?>' alt='<?=$alt?>' style='<?=$styles?>' />85: </<?=$link_wrapper_tag?>>PHP short tags were found in file carousel.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.132: <div class='<?=esc_attr($wrapper_classes)?>' id='<?=$custom_id?>'>139: <div class='<?=esc_attr($slide_classes)?>'>173: max-width: <?=$dots_width?>;176: padding: <?=$dots_padding?>px;185: $('#<?=$custom_id?>').slick({187: arrows: <?=$arrows?>,188: dots: <?=$dots?>,189: autoplay: <?=$autoplay?>,PHP short tags were found in file heading.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.37: #line-<?=$rand?>:before,38: #line-<?=$rand?>:after { 39: border-color: var(--<?=$line_color['theme_colors']?>); 40: border-width: <?=$line_size?>px;PHP short tags were found in file staff.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.74: <div class='<?=$row_classes?>'>111: <div class='<?=$column_classes?>'>112: <div class='<?=$col_inner_classes?>'>119: <div class='staff-name'><<?=$name_tag?> class='<?=$name_classes?>'><?=$name?></<?=$name_tag?>></div>123: <div class='staff-short-bio'><?=$short_bio?></div>127: <div class='staff-long-bio'><?=$long_bio?></div>131: <div class='staff-title'><<?=$title_tag?>><?=$title;?></<?=$title_tag?>></div>PHP short tags were found in file icon-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.319: <li class='<?=$list_item_classes?>'>320: <a classes='<?=$link_text_classes?>' href='<?=$value?>' target='<?=$target?>' title='<?322: <span class='<?=$icon_classes?>'>323: <?=$icon['icon']?>327: <span class='<?=$text_classes?>'>328: <?=$title?>338: <li class='<?=$list_item_classes?> <?=$link_text_classes?>' style='<?=$icon_styles?> <340: <span class='<?=$icon_classes?>'>341: <?=$icon['icon']?>345: <span class='<?=$text_classes?>'>346: <?=$text_content?>353: <li class='<?=$list_item_classes?> <?=$link_text_classes?>' style='<?=$icon_styles?> <354: <span class='<?=$icon_classes?>'>355: <?=$icon['icon']?>PHP short tags were found in file modal.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.187: <?=$overlay_element?>189: <?=$button?>191: <div class='<?=$video_placeholder_classes?>'>192: <video class='video' autoplay='' loop='' muted='' poster='<?=$placeholder_image?>' style='<?=$video_styles?>'>193: <source src='<?=$placeholder_video?>' type='video/mp4'>234: <div class='modal fade<?php if ( $heading_element ) { echo ' has-header'; } ?>' id='<?=esc_attr( trim( $modal_id ) )?>' tabindex='-1' aria-labelledby='exampleM247: <button type='button' class='btn-close <?=$close_button_color?>' data-bs-dismiss='modal' aria-label='Close'></butt252: <iframe src='' type='text/html' id='<?=esc_attr( trim( $video_id ) )?>'></iframe>255: const trigger<?=$trigger_id?> = document.getElementById('<?=$trigger_id?>');256: const rows<?=$trigger_id?> = document.getElementsByClassName('row');258: trigger<?=$trigger_id?>.onclick = function(){modalTrigger<?=$trigger_id?>()};260: function modalTrigger<?=$trigger_id?>() {266: var myModalEl = document.getElementById('<?=$modal_id?>')268: for(var index=0;index < rows<?=$trigger_id?>.length;index++){269: rows<?=$trigger_id?>[1].style.setProperty('z-index', '1053', 'important');270: document.getElementById('<?=$video_id?>').src='<?=$youtube_video_src?>';274: for(var index=0;index < rows<?=$trigger_id?>.length;index++){275: rows<?=$trigger_id?>[1].style.setProperty('z-index', '1', 'important');276: document.getElementById('<?=$video_id?>').src=null;PHP short tags were found in file paragraph.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.52: <div class='<?=$classes;?>'>53: <?=$text;?>PHP short tags were found in file accordion.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.96: <div class='<?=esc_attr($accordion_classes)?>' id='<?=esc_attr($accordion_id)?>' style=212: <div class='<?=esc_attr($accordion_item_classes)?>'>213: <<?=esc_attr($heading_tag)?> class='<?=esc_attr($header_inner_classes)?>' id214: <button class='<?=esc_attr($header_button_classes)?><?=esc_attr($collapsed)?>' type='butto215: <?=esc_attr($heading_text)?>217: </<?=esc_attr($tag)?>>218: <div id='collapse<?=esc_attr($accordion_item_count_spelled)?>' class='accordion-collapse col222: <div class='img <?=$image_classes?>'>231: <div class='<?=esc_attr($text_classes)?>'>PHP short tags were found in file section.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.299: [data-id='<?=$data_id?>'] {300: <?=$custom_css?>321: <div class='<?=esc_attr($row_classes)?>'<?php if ( $masonry === 'enabled' ) { ?> data-m322: <?665: <div class='column-link <?=esc_attr($col_classes)?>' style='<?=esc_attr($col_styles)?>' <?php if ( PHP short tags were found in file navbar-branding-sticky.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.44: <a href='<?=esc_attr($home_url)?>' class='navbar-brand custom-logo-link' rel='home' 45: <?=$image?>PHP short tags were found in file navbar-sticky.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.72: <nav id='' class='<?=$wrapper_classes?>' aria-labelledby='main-nav-label' style='<?=$wrapper_83: <div class='menu-buttons-container<?=$gap?>'><!-- menu and buttons container start -->PHP short tags were found in file navbar-offcanvas-bootstrap5.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.72: <nav id='main-nav' class='<?=$wrapper_classes?>' aria-labelledby='main-nav-label' style='<?=$wrapper_83: <div class='menu-buttons-container<?=$gap?>'><!-- menu and buttons container start -->PHP short tags were found in file navbar-branding.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.37: <a href='<?=esc_attr($home_url)?>' class='navbar-brand custom-logo-link' rel='home' 38: <?=$image?>PHP short tags were found in file navbar-top.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.158: <li class='<?=$list_item_classes?>' style='<?=$icon_styles?>'>159: <a href='<?=$value?>' title='<?=$title?>' target='<?=$target?>'>160: <span class='<?=$icon_classes?>'>161: <?=$icon['icon']?>168: <li class='<?=$list_item_classes?>' style='<?=$icon_styles?>'>169: <span class='<?=$icon_classes?>'>170: <?=$icon['icon']?>176: <li class='<?=$list_item_classes?>' style='<?=$icon_styles?>'>177: <span class='<?=$icon_classes?>'>178: <?=$icon['icon']?>252: <li class='<?=$list_item_classes?>' style='<?=$icon_styles?>'>253: <a href='<?=$value?>' title='<?=$title?>' target='<?=$target?>'>254: <span class='<?=$icon_classes?>'>255: <?=$icon['icon']?>262: <li class='<?=$list_item_classes?>' style='<?=$icon_styles?>'>263: <span class='<?=$icon_classes?>'>264: <?=$icon['icon']?>270: <li class='<?=$list_item_classes?>' style='<?=$icon_styles?>'>271: <span class='<?=$icon_classes?>'>272: <?=$icon['icon']?>PHP short tags were found in file shortcodes.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.20: <?=$toc?>37: var sticky = ( sticky + <?=$sticky_position?> );PHP short tags were found in file root-style.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.246: --primary: <?=$primary;?>;249: --primary_hover: <?=$primary_hover;?>;252: --secondary: <?=$secondary;?>;255: --secondary_hover: <?=$secondary_hover;?>;258: --success: <?=$success;?>;261: --success_hover: <?=$success_hover;?>;264: --info: <?=$info;?>;267: --info_hover: <?=$info_hover;?>;270: --danger: <?=$danger;?>;273: --danger_hover: <?=$danger_hover;?>;276: --warning: <?=$warning;?>;279: --warning_hover: <?=$warning_hover;?>;282: --text: <?=$text;?>;285: --text_hover: <?=$text_hover;?>;288: --light: <?=$light;?>;291: --light_hover: <?=$light_hover;?>;294: --dark: <?=$dark;?>;297: --dark_hover: <?=$dark_hover;?>;300: --gray: <?=$gray;?>;303: --gray_hover: <?=$gray_hover;?>;306: --white: <?=$white;?>;309: --white_hover: <?=$white_hover;?>;477: --logo_width: <?=$logo_width;?>px;478: --sticky_logo_width: <?=$sticky_logo_width;?>px;482: --base_font_size: <?=$base_font_size;?>px;487: --max-width: <?=$max_width;?>px;490: --font-primary: <?=$primary_font;?>;491: --font-secondary: <?=$secondary_font;?>;495: --main_menu_text_color: var(--<?=$main_menu_text_color['theme_colors']?>);499: --button_border-radius: <?=$border_radius;?>px;503: --button_border_width: <?=$border_width?>px;508: --button_font_weight: <?=$button_font_weight?>;513: --button_font_family: var(--font-<?=$button_font_family?>);518: --button_letter_spacing: <?=$button_letter_spacing?>px;
Tip-off
  1. Use of includes : Use of include or requireThe theme appears to use include or require : modal.php 6: include_once( __DIR__ . '/styles/modal.css'); 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 : section.php 699: include( __DIR__ . '../../../elements/heading.php');700: include( __DIR__ . '../../../elements/paragraph.php');701: include( __DIR__ . '../../../elements/buttons.php');702: include( __DIR__ . '../../../elements/image.php');703: include( __DIR__ . '../../../elements/staff.php');704: include( __DIR__ . '../../../elements/carousel.php');705: include( __DIR__ . '../../../elements/divider.php');706: include( __DIR__ . '../../../elements/accordion.php');707: include( __DIR__ . '../../../elements/tabs.php');708: include( __DIR__ . '../../../elements/icon-list.php');709: include( __DIR__ . '../../../elements/gallery.php');710: include( __DIR__ . '../../../elements/post-carousel.php');711: include( __DIR__ . '../../../elements/html.php');712: include( __DIR__ . '../../../elements/form.php');713: include( __DIR__ . '../../../elements/modal.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