0
Validation results

My Listing

My Listing

WordPress 6.6.2 theme
0
This theme seems to be proprietary. Themecheck doesn't distribute commercial themes.
Critical alerts
  1. Customizer : Sanitization of Customizer settings Found a Customizer setting that did not have a sanitization callback function in file typography.php. Every call to the add_setting() method needs to have a sanitization callback function passed.
  2. Title : Title The <title> tags can only contain a call to wp_title(). Use the wp_title filter to modify the output.
  3. Security breaches : Modification of PHP server settings Found ini_set in file ajax.php. 56: @ini_set( 'display_errors', 0 );Found ini_set in file demo-importer.php. 93: @ini_set( 'display_errors', 0 );
  4. Security breaches : Use of base64_decode() Found base64_decode in file profile-picture-field.php. 18: $value = base64_decode( str_replace( 'b64:', '', $value ), true );Found base64_decode in file file-field.php. 34: $value = base64_decode( str_replace( 'b64:', '', $value ), true );Found base64_decode in file schema.php. 61: $compiled_value = json_decode( base64_decode( $compiled_value ) );Found base64_decode in file updates.php. 134: $license = maybe_unserialize(base64_decode($license));Found base64_decode in file api-helpers.php. 4631: if( !function_exists('openssl_decrypt') ) return base64_decode($data);4639: list($encrypted_data, $iv) = explode('::', base64_decode($data), 2);
  5. Security breaches : Use of base64_encode() Found base64_encode in file file.php.
     value='<?php echo esc_attr( 'b64:'.base64_encode( $file ) ) ?>'>
    Found base64_encode in file uploaded-file-html.php.
     <input type='hidden' class='input-text' name='<?php echo esc_attr( $name ) ?>' value='<?php echo esc_attr( 'b64:'.base64_encode( $value ) ) ?>'>
    Found base64_encode in file file-upload-endpoint.php.
     $uploaded_file->encoded_guid = 'b64:'.base64_encode( $uploaded_file->guid );
    Found base64_encode in file schema.php.
     $value = $this->hash . base64_encode( json_encode( $value ) );
    Found base64_encode in file updates.php.
     $value = base64_encode(maybe_serialize($data));
    Found base64_encode in file api-helpers.php.
     if( !function_exists('openssl_encrypt') ) return base64_encode($data);
     return base64_encode($encrypted_data . '::' . $iv);
    Found base64_encode in file filters.php.
     $response['encoded_guid'] = 'b64:'.base64_encode( $response['guid'] );
  6. Presence of iframes : iframes are sometimes used to load unwanted adverts and malicious code on another site Found <iframe src="https://my.timekit.io/<?php echo esc_attr( $timekitID ) ?> in file bookings.php. 49: <iframe src='https://my.timekit.io/<?php echo esc_attr( $timekitID ) ?>' frFound <iframe src="<?php echo esc_attr( $video['url'] ) ?> in file video-block.php. 30: <iframe src='<?php echo esc_attr( $video['url'] ) ?>' frameborder='0' allowFound <iframe src="<?php echo esc_attr( $video['url'] ) ?> in file video-block.php. 31: <iframe src='<?php echo esc_attr( $video['url'] ) ?>' frameborder='0' allow
  7. Malware : Operations on file system file_get_contents was found in the file admin.php 249: $doc_contents = file_get_contents( $doc_file );file_get_contents was found in the file preview-card-utils.php 37: return apply_filters( 'mylisting/get-preview-card-cache', file_get_contents( $filepath ), $listing_id );fopen was found in the file preview-card-utils.php 69: $fp = fopen( trailingslashit( $dir ).$listing_id.'.html', 'wb' );fwrite was found in the file preview-card-utils.php 70: fwrite( $fp, \MyListing\minify_html( $content ) );fclose was found in the file preview-card-utils.php 71: fclose( $fp );file_put_contents was found in the file utils.php 279: file_put_contents( trailingslashit( $upload_dir['basedir'] ) . 'mylisting-dfile_get_contents was found in the file import-media.php 20: $upload = wp_upload_bits( $filename, null, file_get_contents( $filepath ) );file_get_contents was found in the file demo-importer-utils.php 60: $raw_contents = file_get_contents( uploads_dir( 'mylisting-demo-data/'.$file ) );file_get_contents was found in the file settings-info.php 148: $readme = file_get_contents( acf_get_path('readme.txt') );file_get_contents was found in the file class-acf-admin-tool-import.php 102: $json = file_get_contents( $file['tmp_name'] );file_get_contents was found in the file json.php 154: $json = file_get_contents('{$path}/{$file}');fopen was found in the file json.php 227: $f = fopen('{$path}/{$file}', 'w');fwrite was found in the file json.php 228: fwrite($f, acf_json_encode( $field_group ));fclose was found in the file json.php 229: fclose($f);file_get_contents was found in the file assets.php 303: preg_replace( '/\s+/S', ' ', file_get_contents( locate_template( 'assets/dynamic/element-queries'.$suffi
  8. Admin menu : Themes should use add_theme_page() for adding admin pages. File reports-screen.php : 53: add_submenu_page(File view-claims-screen.php : 43: add_submenu_page(File settings-screen.php : 76: add_action( 'admin_menu', [ $this, 'add_settings_page' ], 20 );98: public function add_settings_page() {File settings-screen.php : 99: add_submenu_page(File bookmarks.php : 20: \MyListing\add_dashboard_page( [File forms.php : 222: $add_listing_page = c27()->get_setting( 'general_add_listing_page' );238: ], $add_listing_page );File forms.php : 222: $add_listing_page = c27()->get_setting( 'general_add_listing_page' );238: ], $add_listing_page );File wcpl-importer.php : 24: add_action( 'admin_menu', [ $this, 'add_migration_page' ], 999 );35: public function add_migration_page() {File wcpl-importer.php : 37: add_submenu_page(File user-packages.php : 186: add_submenu_page(File claims.php : 40: \MyListing\add_dashboard_page( [File map-services.php : 39: add_action( 'admin_menu', [ $this, 'add_settings_page' ], 50 );63: public function add_settings_page() {File map-services.php : 64: add_submenu_page(File listing-stats.php : 50: add_action( 'admin_menu', [ $this, 'add_settings_page' ], 50 );60: public function add_settings_page() {File listing-stats.php : 61: add_submenu_page(File theme-options.php : 31: add_submenu_page(File shortcodes.php : 15: add_action( 'admin_menu', [ $this, 'add_shortcodes_page' ], 50 );27: public function add_shortcodes_page() {File promotions-admin-controller.php : 28: add_submenu_page(File promotions-dashboard-controller.php : 123: \MyListing\add_dashboard_page( [File user-roles-controller.php : 27: add_submenu_page(File onboarding.php : 18: add_submenu_page(File advanced-custom-fields.php : 31: add_action( 'mylisting/init', [ $this, 'add_integrations_page' ] );72: public function add_integrations_page() {File admin-options-page.php : 67: $slug = add_menu_page( $page['page_title'], $page['menu_title'], $page['capability'File admin-options-page.php : 72: $slug = add_submenu_page( $page['parent_slug'], $page['page_title'], $page['menu_tiFile admin-updates.php : 118: $page = add_submenu_page( 'edit.php?post_type=acf-field-group', __('Updates','acf')File options-page.php : 158: * add_sub_page170: function add_sub_page( $page ) {342: * alias of acf_options_page()->add_sub_page()356: return acf_options_page()->add_sub_page( $page );File settings-info.php : 50: add_submenu_page('edit.php?post_type=acf-field-group', __('Info','acf'), __File admin-tools.php : 116: $page = add_submenu_page('edit.php?post_type=acf-field-group', __('Tools','acf'), _File admin.php : 54: add_menu_page(__('Custom Fields','acf'), __('Custom Fields','acf'), $cap, $File admin.php : 58: add_submenu_page($slug, __('Field Groups','acf'), __('Field Groups','acf'),59: add_submenu_page($slug, __('Add New','acf'), __('Add New','acf'), $cap, 'poFile admin.php : 58: add_submenu_page($slug, __('Field Groups','acf'), __('Field Groups','acf'),59: add_submenu_page($slug, __('Add New','acf'), __('Add New','acf'), $cap, 'poFile admin-upgrade.php : 47: $page = add_submenu_page('index.php', __('Upgrade Database','acf'), __('Upgrade Dat94: $page = add_submenu_page('index.php', __('Upgrade Database','acf'), __('Upgrade DatFile admin-upgrade.php : 47: $page = add_submenu_page('index.php', __('Upgrade Database','acf'), __('Upgrade Dat94: $page = add_submenu_page('index.php', __('Upgrade Database','acf'), __('Upgrade DatFile buddypress.php : 27: add_action( 'bp_setup_nav', [ $this, 'add_listings_page' ] );63: public function add_listings_page() {File custom-taxonomies.php : 29: add_action( 'admin_menu', [ $this, 'add_settings_page' ], 30 );167: public function add_settings_page() {File custom-taxonomies.php : 168: add_submenu_page(File simple-products.php : 210: \MyListing\add_dashboard_page( [219: \MyListing\add_dashboard_page( [File simple-products.php : 210: \MyListing\add_dashboard_page( [219: \MyListing\add_dashboard_page( [
Warning
  1. core scripts deregistered : Core scripts deregistrationFound wp_deregister_script in assets.php. Themes must not deregister core scripts. 166: * Select2 - first use wp_deregister_script to unset select2 loaded169: wp_deregister_script( 'select2' );
  2. theme tags : Presence of bad theme tagsFound wrong tag custom-logo in style.css header.
  3. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function __, with the arguments 'You cannot access this page.' in file my-listings.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'You cannot access this page.' in file dashboard.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Use this option to display the date in a box layout, if possible. Otherwise, it will be plain text.' in file format.php.Found a translation function that is missing a text-domain. Function esc_html_e, with the arguments 'View All Packages.' in file wcpl-importer.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'IMPORTANT: Please backup all your database before performing this action.' in file wcpl-importer.php.Found a translation function that is missing a text-domain. Function _n, with the arguments 'layout', 'layouts' in file class-acf-field-flexible-content.php.Found a translation function that is missing a text-domain. Function _n, with the arguments 'layout', 'layouts' in file class-acf-field-flexible-content.php.Found a translation function that has an incorrect number of arguments. Function _n, with the arguments '%s requires at least %s selection', '%s requires at least %s selections', min, 'acf' in file class-acf-field-gallery.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Apply' in file admin-field-groups.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Bulk Actions' in file admin-field-groups.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'btn' in file settings-addons.php.Found a translation function that has an incorrect number of arguments. Function _n, with the arguments '%s requires at least %s selection', '%s requires at least %s selections', min, 'acf' in file class-acf-field-relationship.php.Found a translation function that is missing a text-domain. Function __, with the arguments in file api-helpers.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Taxonomy plural name', 'my-listing' in file custom-taxonomies.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Taxonomy singular name', 'my-listing' in file custom-taxonomies.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'my-listing' in file custom-taxonomies.php.Found a translation function that is missing a text-domain. Function esc_html__, with the arguments 'my-listing' in file messages.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 my-listing, acf, min, elementor.
  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 parsedown.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.829: if (preg_match('/^\[(.+?)\]:[ ]*<?(\S+?)>?(?:[ ]+['\'(](.+)['\')])?[ ]*$/', $Line['text'], $matches))
  6. Hidden admin bar : Hidden admin Bar in CSSThemes should not hide admin bar. Detected in file frontend.css.
  7. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  8. I18N implementation : Proper use of _e(Possible variable $div found in translation function in class-acf-field-repeater.php. Translation function calls should not contain PHP variables. Possible variable $atts found in translation function in class-acf-field-clone.php. Translation function calls should not contain PHP variables. Possible variable $div found in translation function in class-acf-field-flexible-content.php. Translation function calls should not contain PHP variables. Possible variable $atts found in translation function in class-acf-field-flexible-content.php. Translation function calls should not contain PHP variables. Possible variable $attrs found in translation function in class-acf-field-gallery.php. Translation function calls should not contain PHP variables. Possible variable $attributes found in translation function in field-group-field-conditional-logic.php. Translation function calls should not contain PHP variables. Possible variable $addon found in translation function in settings-addons.php. Translation function calls should not contain PHP variables. Possible variable $args found in translation function in form-front.php. Translation function calls should not contain PHP variables. Possible variable $div found in translation function in class-acf-field-date_picker.php. Translation function calls should not contain PHP variables. Possible variable $div found in translation function in class-acf-field-date_time_picker.php. Translation function calls should not contain PHP variables. Possible variable $atts found in translation function in class-acf-field-group.php. Translation function calls should not contain PHP variables. Possible variable $wrap found in translation function in class-acf-field-wysiwyg.php. Translation function calls should not contain PHP variables. Possible variable $div found in translation function in class-acf-field-file.php. Translation function calls should not contain PHP variables. Possible variable $atts found in translation function in class-acf-field-tab.php. Translation function calls should not contain PHP variables. Possible variable $atts found in translation function in class-acf-field-accordion.php. Translation function calls should not contain PHP variables. Possible variable $div found in translation function in class-acf-field-taxonomy.php. Translation function calls should not contain PHP variables. Possible variable $div found in translation function in class-acf-field-link.php. Translation function calls should not contain PHP variables. Possible variable $atts found in translation function in class-acf-field-google-map.php. Translation function calls should not contain PHP variables. Possible variable $atts found in translation function in class-acf-field-relationship.php. Translation function calls should not contain PHP variables. Possible variable $div found in translation function in class-acf-field-image.php. Translation function calls should not contain PHP variables. Possible variable $atts found in translation function in class-acf-field-oembed.php. Translation function calls should not contain PHP variables. Possible variable $div found in translation function in class-acf-field-time_picker.php. Translation function calls should not contain PHP variables. Possible variable $attrs found in translation function in acf-input-functions.php. Translation function calls should not contain PHP variables. Possible variable $attrs found in translation function in acf-input-functions.php. Translation function calls should not contain PHP variables.
  9. I18N implementation : Proper use of ___all(Possible variable $string found in translation function in api-helpers.php. Translation function calls should not contain PHP variables. Possible variable $title found in translation function in custom-taxonomies.php. Translation function calls should not contain PHP variables. Possible variable $name found in translation function in messages.php. Translation function calls should not contain PHP variables.
  10. I18N implementation : Proper use of _x(Possible variable $title found in translation function in custom-taxonomies.php. Translation function calls should not contain PHP variables. Possible variable $title found in translation function in custom-taxonomies.php. Translation function calls should not contain PHP variables.
  11. I18N implementation : Proper use of _ex(Possible variable $product found in translation function in choose-promotion.php. Translation function calls should not contain PHP variables. Possible variable $duration found in translation function in choose-promotion.php. Translation function calls should not contain PHP variables.
  12. I18N implementation : Proper use of esc_attr_e(Possible variable $div found in translation function in class-acf-field-repeater.php. Translation function calls should not contain PHP variables. Possible variable $atts found in translation function in class-acf-field-clone.php. Translation function calls should not contain PHP variables. Possible variable $div found in translation function in class-acf-field-flexible-content.php. Translation function calls should not contain PHP variables. Possible variable $atts found in translation function in class-acf-field-flexible-content.php. Translation function calls should not contain PHP variables. Possible variable $attrs found in translation function in class-acf-field-gallery.php. Translation function calls should not contain PHP variables. Possible variable $attributes found in translation function in field-group-field-conditional-logic.php. Translation function calls should not contain PHP variables. Possible variable $args found in translation function in form-front.php. Translation function calls should not contain PHP variables. Possible variable $div found in translation function in class-acf-field-date_picker.php. Translation function calls should not contain PHP variables. Possible variable $div found in translation function in class-acf-field-date_time_picker.php. Translation function calls should not contain PHP variables. Possible variable $atts found in translation function in class-acf-field-group.php. Translation function calls should not contain PHP variables. Possible variable $wrap found in translation function in class-acf-field-wysiwyg.php. Translation function calls should not contain PHP variables. Possible variable $div found in translation function in class-acf-field-file.php. Translation function calls should not contain PHP variables. Possible variable $atts found in translation function in class-acf-field-tab.php. Translation function calls should not contain PHP variables. Possible variable $atts found in translation function in class-acf-field-accordion.php. Translation function calls should not contain PHP variables. Possible variable $div found in translation function in class-acf-field-taxonomy.php. Translation function calls should not contain PHP variables. Possible variable $div found in translation function in class-acf-field-link.php. Translation function calls should not contain PHP variables. Possible variable $atts found in translation function in class-acf-field-google-map.php. Translation function calls should not contain PHP variables. Possible variable $atts found in translation function in class-acf-field-relationship.php. Translation function calls should not contain PHP variables. Possible variable $div found in translation function in class-acf-field-image.php. Translation function calls should not contain PHP variables. Possible variable $atts found in translation function in class-acf-field-oembed.php. Translation function calls should not contain PHP variables. Possible variable $div found in translation function in class-acf-field-time_picker.php. Translation function calls should not contain PHP variables. Possible variable $attrs found in translation function in acf-input-functions.php. Translation function calls should not contain PHP variables.
  13. I18N implementation : Proper use of esc_html___all(Possible variable $name found in translation function in messages.php. Translation function calls should not contain PHP variables.
  14. Featured image : Use of the_post_thumbnail() instead of custom fields for thumbnailsNo reference to the_post_thumbnail was found in the theme.
  15. Date and time implementation : Use of date_i18n()At least one hard coded date was found in the file class-acf-field-date_picker.php. Function get_option( 'date_format' ) should be used instead.
  16. Screenshot : Screenshot fileBad screenshot file extension ! File screenshot.png is not an actual JPG file. Detected type was : "image/png".
Tip-off
  1. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file wp-all-import-ui-work-hours.php.126: <a href='https://www.php.net/manual/en/timezones.php' target='_blank'>List of supporPossible hard-coded links were found in the file map-services.php.128: <a href='https://www.mapbox.com/account/' target='_blank'>your Mapbox user dashboard190: You can create custom map styles in your <a href='https://www.mapbox.com/studio/' target='_blank'>Mapbox Studio</a>.Possible hard-coded links were found in the file profile-screen.php.17: $avatars['mylisting_user_initials'] = sprintf( __( 'User Initials (Generated through %s)', 'my-listing' ), '<a href='https://ui-avatars.com/' target='_blank'>UI Avatars</a>' );141: return 'https://ui-avatars.com/api/' . join( '/', $query_args );Possible hard-coded links were found in the file forms.php.8: <p>Not sure what's this? <a href='https://docs.mylistingtheme.com/article/configuring-search-forms/' target='13: <p>Not sure what's this? <a href='https://docs.mylistingtheme.com/article/configuring-search-forms/' target='8: <p>Not sure what's this? <a href='https://docs.mylistingtheme.com/article/configuring-search-forms/' target='13: <p>Not sure what's this? <a href='https://docs.mylistingtheme.com/article/configuring-search-forms/' target='Possible hard-coded links were found in the file fields.php.5: Need help? Read the <a href='https://docs.mylistingtheme.com/article/listing-type-fields-tab/' target='_6: or open a ticket in our <a href='https://helpdesk.27collective.net/' target='_blank'>helpdesk</a>.Possible hard-coded links were found in the file seo.php.8: <a href='https://developers.google.com/search/docs/guides/intro-structured-data' tarPossible hard-coded links were found in the file cover-style.php.17: Not sure what's this? <a href='http://docs.mylistingtheme.com/article/single-page-tab-cover-style-cover-dePossible hard-coded links were found in the file content-tabs.php.4: <p>Not sure what's this? <a href='https://docs.mylistingtheme.com/article/single-page-content-and-tabs/' targPossible hard-coded links were found in the file preview.php.12: Need help? Read the <a href='http://docs.mylistingtheme.com/article/configuring-the-preview-card-results13: or open a ticket in our <a href='https://helpdesk.27collective.net/' target='_blank'>helpdesk</a>.Possible hard-coded links were found in the file quick-view.php.11: Need help? Read the <a href='http://docs.mylistingtheme.com/article/configuring-the-preview-card-results12: or open a ticket in our <a href='https://helpdesk.27collective.net/' target='_blank'>helpdesk</a>.
  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 search results template file search.phpThis theme does not contain optional file search.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 : base-field.php 42: 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 : helpers.php 163: include_once( ABSPATH . 'wp-admin/includes/file.php' );164: include_once( ABSPATH . 'wp-admin/includes/media.php' );165: include_once( ABSPATH . 'wp-admin/includes/image.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 : blocks.php 317: include( $path ); 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 : acf.php 101: include_once( ACF_PATH . 'includes/acf-utility-functions.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 : api-helpers.php 437: include( $path );2919: //require_once( ABSPATH . '/wp-load.php' ); // WP should already be loaded2920: require_once( ABSPATH . '/wp-admin/includes/media.php' ); // video function2921: require_once( ABSPATH . '/wp-admin/includes/file.php' );2922: require_once( ABSPATH . '/wp-admin/includes/image.php' );4279: include_once( ABSPATH . 'wp-admin/includes/plugin.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 : acf-utility-functions.php 156: include_once($file_path); 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 : messages.php 884: require_once( ABSPATH . 'wp-admin/includes/upgrade.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 : reviews.php 461: require_once( ABSPATH . 'wp-admin/includes/image.php' );462: require_once( ABSPATH . 'wp-admin/includes/file.php' );463: require_once( ABSPATH . 'wp-admin/includes/media.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