0
Validation results

Brooklyn

Brooklyn

WordPress 6.4.3 theme
0
This theme seems to be proprietary. Themecheck doesn't distribute commercial themes.
Critical alerts
  1. Security breaches : Use of base64_decode() Found base64_decode in file Mbstring.php. 90: $s = base64_decode($s);
  2. Security breaches : Use of base64_encode() Found base64_encode in file XliffFileDumper.php.
     $translation->setAttribute('id', strtr(substr(base64_encode(hash('sha256', $source, true)), 0, 7), '/+', '._'));
     $translation->setAttribute('id', strtr(substr(base64_encode(hash('sha256', $source, true)), 0, 7), '/+', '._'));
    Found base64_encode in file Translator.php.
     return $this->cacheDir.'/catalogue.'.$locale.'.'.strtr(substr(base64_encode(hash('sha256', serialize($this->fallbackLocales), true)), 0, 
    Found base64_encode in file Mbstring.php.
     return base64_encode($s);
  3. Unwanted files : hidden file(s) or folder(s) .gitignore .scrutinizer.yml .travis.yml was found.
  4. Malware : Operations on file system file_get_contents was found in the file FastImageSize.php 194: $this->data = @file_get_contents($filename, null, null, $offset, $length);file_get_contents was found in the file PhpExtractor.php 84: $this->parseTokens(token_get_all(file_get_contents($file)), $catalog);fopen was found in the file CsvFileDumper.php 31: $handle = fopen('php://memory', 'r+b');fclose was found in the file CsvFileDumper.php 39: fclose($handle);file_put_contents was found in the file FileDumper.php 88: file_put_contents($fullpath, $this->formatCatalogue($messages, $domain, $opfile_get_contents was found in the file XliffLintCommand.php 97: $filesInfo[] = $this->validate(file_get_contents($file), $file);fread was found in the file XliffLintCommand.php 212: $inputs .= fread(STDIN, 1024);fopen was found in the file MoFileLoader.php 46: $stream = fopen($resource, 'r');fread was found in the file MoFileLoader.php 53: $magic = unpack('V1', fread($stream, 4));90: $singularId = fread($stream, $length);105: $translated = fread($stream, $length);143: $result = unpack($isBigEndian ? 'N1' : 'V1', fread($stream, 4));fread was found in the file MoFileLoader.php 53: $magic = unpack('V1', fread($stream, 4));90: $singularId = fread($stream, $length);105: $translated = fread($stream, $length);143: $result = unpack($isBigEndian ? 'N1' : 'V1', fread($stream, 4));fread was found in the file MoFileLoader.php 53: $magic = unpack('V1', fread($stream, 4));90: $singularId = fread($stream, $length);105: $translated = fread($stream, $length);143: $result = unpack($isBigEndian ? 'N1' : 'V1', fread($stream, 4));fclose was found in the file MoFileLoader.php 128: fclose($stream);fread was found in the file MoFileLoader.php 53: $magic = unpack('V1', fread($stream, 4));90: $singularId = fread($stream, $length);105: $translated = fread($stream, $length);143: $result = unpack($isBigEndian ? 'N1' : 'V1', fread($stream, 4));fopen was found in the file PoFileLoader.php 65: $stream = fopen($resource, 'r');fclose was found in the file PoFileLoader.php 116: fclose($stream);file_get_contents was found in the file XliffFileLoader.php 214: $schemaSource = file_get_contents(__DIR__.'/schema/dic/xliff-core/xliff-core-1.2-strict.xsd217: $schemaSource = file_get_contents(__DIR__.'/schema/dic/xliff-core/xliff-core-2.0.xsd');file_get_contents was found in the file XliffFileLoader.php 214: $schemaSource = file_get_contents(__DIR__.'/schema/dic/xliff-core/xliff-core-1.2-strict.xsd217: $schemaSource = file_get_contents(__DIR__.'/schema/dic/xliff-core/xliff-core-2.0.xsd');file_get_contents was found in the file JsonFileLoader.php 29: if ($data = file_get_contents($resource)) {
  5. Admin menu : Themes should use add_theme_page() for adding admin pages. File image-processing-queue.php : 63: add_management_page(
  6. Included plugins : Zip file found Plugins are not allowed in themes. The zip file found was hero-website-42.zip bklyn-construction.zip brooklyn-hero-demo-23.zip single-portfolio-hero-slider.zip alex.zip demo22.zip wedding-frontpage.zip mountain-parallax-header.zip coastal-weddings.zip demo28.zip about.zip screens.zip our-story.zip winter.zip demo29.zip hero-website-1.zip outdoor-weddings.zip elegant-weddings.zip demo5.zip fav-32.zip.
Warning
  1. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function esc_attr_e, with the arguments in file ot-functions-admin.php.Found a translation function that is missing a text-domain. Function esc_attr_e, with the arguments in file ot-functions-admin.php.Found a translation function that is missing a text-domain. Function esc_attr_e, with the arguments in file ot-functions-admin.php.Found a translation function that is missing a text-domain. Function esc_attr__, with the arguments in file ot-functions-admin.php.Found a translation function that is missing a text-domain. Function esc_attr__, with the arguments in file ot-functions-admin.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Every %d Minutes' in file Cron.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 unite-admin, unitedthemes, unite_admin, wordpress-importer, unite, tgmpa, woocommerce, brooklyn, word count: words or characters?, ut_shortcodes, js_composer.
  2. Unwanted directories : GIT revision control directoryA.git was found.
  3. Hidden admin bar : Hidden admin Bar in CSSThemes should not hide admin bar. Detected in file unite-admin-backup.css.
  4. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  5. Custom elements : Presence of custom backgroundNo reference to custom background was found in the theme.
  6. I18N implementation : Proper use of _e(Possible variable $edit_id found in translation function in ot-functions-admin.php. Translation function calls should not contain PHP variables. Possible variable $edit_id found in translation function in ot-functions-admin.php. Translation function calls should not contain PHP variables. Possible variable $edit_id found in translation function in ot-functions-admin.php. Translation function calls should not contain PHP variables.
  7. I18N implementation : Proper use of ___all(Possible variable $edit_id found in translation function in ot-functions-admin.php. Translation function calls should not contain PHP variables. Possible variable $edit_id found in translation function in ot-functions-admin.php. Translation function calls should not contain PHP variables.
  8. I18N implementation : Proper use of esc_attr___all(Possible variable $edit_id found in translation function in ot-functions-admin.php. Translation function calls should not contain PHP variables. Possible variable $edit_id found in translation function in ot-functions-admin.php. Translation function calls should not contain PHP variables.
  9. I18N implementation : Proper use of esc_attr_e(Possible variable $edit_id found in translation function in ot-functions-admin.php. Translation function calls should not contain PHP variables. Possible variable $edit_id found in translation function in ot-functions-admin.php. Translation function calls should not contain PHP variables. Possible variable $edit_id found in translation function in ot-functions-admin.php. Translation function calls should not contain PHP variables.
  10. Featured image : Use of the_post_thumbnail() instead of custom fields for thumbnailsNo reference to the_post_thumbnail was found in the theme.
  11. Date and time implementation : Use of the_time()At least one hard coded date was found in the file content-video.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file content.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file content-gallery.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file content-audio.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file content-video.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file content.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file content-gallery.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file content-audio.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file content-video.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file content.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file content-gallery.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file content-audio.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file content-video.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file content-quote.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file content.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file content-link.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file content-gallery.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file content-audio.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file content-video.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file content-quote.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file content.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file content-link.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file content-gallery.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file content-audio.php. Function get_option( 'date_format' ) should be used instead.
  12. Screenshot : Screenshot fileBad 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 unite-init.php. Favicons are handled by the Site Icon setting in the customizer since version 4.3.Possible Favicon found in header.php. Favicons are handled by the Site Icon setting in the customizer since version 4.3.Possible Favicon found in ut-theme-functions.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 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 term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  7. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  8. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  9. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  10. Use of includes : Use of include or requireThe theme appears to use include or require : unite-import-export.class.php 314: require_once( FW_DOCUMENT_ROOT . '/core/admin/unite-remote-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 : unite-website-installer.php 6: include_once( FW_DOCUMENT_ROOT . '/core/admin/option-tree/includes/plugins/1593: include_once(THEME_DOCUMENT_ROOT . '/admin/includes/ot-functions-admin.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 : header.php 7: require_once( ABSPATH . 'wp-admin/admin-header.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 : ot-loader.php 249: //include_once( $file );250: include( $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.The theme appears to use include or require : ut-layout-loader.php 15: include_once( THEME_DOCUMENT_ROOT . '/unite/core/admin/option-tree/includes80: include( THEME_DOCUMENT_ROOT . '/unite/core/admin/helpers/optionsdata.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 : ut-theme-options-onepage.php 693: 2205: 3295: 4775: 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 : ut-theme-options.php 12337: 14827: 16177: 16463: 17696: 20432: 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 : ut-metaboxes.php 3981: 4410: 4976: 7385: 7396: 7407: 7436: 7447: 7488: 7496: 13663: 13675: 13707: 13716: 13919: 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 : unite-helpers.php 786: $google_font_cache = json_decode( include( THEME_DOCUMENT_ROOT . '/unite/core/admin/assets/google/google_font 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 : unite-init.php 96: require_once ( ABSPATH . '/wp-admin/includes/file.php' );141: include( $file );152: include( $file );157: include( $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.The theme appears to use include or require : image-processing-queue.php 9: require_once( THEME_DOCUMENT_ROOT . '/inc/image-processing/vendor/autoload. 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 : ut-theme-custom-css.php 2278: include( 'css/theme-cacheable-css.php' );2279: include( 'css/theme-non-cacheable-css.php' );2281: include( 'css/global.php' );2282: include( 'css/hero.php' );2283: include( 'css/deprecated.php' );2284: include( 'css/navigation.php' );2285: include( 'css/side-navigation.php' );2286: include( 'css/mobile-navigation.php' );2287: include( 'css/page.php' );2288: include( 'css/blog.php' );2289: include( 'css/onepage.php' );2290: include( 'css/portfolio.php' );2291: include( 'css/post.php' );2292: include( 'css/shortcodes.php' );2293: include( 'css/contact.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 : ut-theme-functions.php 271: $unicode = json_decode( include_once( THEME_DOCUMENT_ROOT . '/unite/core/admin/assets/fonts/fontawe 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 : vc-config.php 7: include( THEME_DOCUMENT_ROOT . '/vc/vc-params.php' );8: include( THEME_DOCUMENT_ROOT . '/vc/vc-filters.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