The author of Business Directory plugin said it is the fault of the theme I am using. They said check my theme with Theme Check plugin at https://wordpress.org/plugins/theme-check . These are the errors I got back. There were more but I couldn’t add them all here. What do you think of these reported errors and the plugin?
REQUIRED: .gallery-caption css class is needed in your theme css.
Warning: 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 __x__, bbpress, cornerstone, \n, my-text-domain, __x__ , buddypress
WARNING: The theme uses the add_shortcode() function. Custom post-content shortcodes are plugin-territory functionality.
WARNING: Found a translation function that is missing a text-domain. Function _x, with the arguments 'cs-no-subset', 'Translate to: (greek, cyrillic, vietnamese) to add an additional font subset.'
WARNING: Found a translation function that is missing a text-domain. Function _e, with the arguments '__x__'
WARNING: Found a translation function that is missing a text-domain. Function __, with the arguments '__x__'
WARNING: Found a translation function that is missing a text-domain. Function __, with the arguments 'Update Plugin'
WARNING: Found a translation function that is missing a text-domain. Function __, with the arguments 'There is a new version of %1$s available. View version %4$s details.'
WARNING: Found a translation function that is missing a text-domain. Function __, with the arguments 'There is a new version of %1$s available. View version %4$s details. %5$s'
WARNING: Found a translation function that is missing a text-domain. Function __, with the arguments 'There is a new version of %1$s available. View version %4$s details or update now.'
WARNING: Found a translation function that is missing a text-domain. Function __, with the arguments 'Show Title'
WARNING: Found a translation function that is missing a text-domain. Function __, with the arguments 'Show Description'
WARNING: Found a translation function that is missing a text-domain. Function __, with the arguments 'Select which form you would like to display.'
WARNING: Found a translation function that is missing a text-domain. Function __, with the arguments 'Form'
WARNING: Found a translation function that is missing a text-domain. Function __, with the arguments 'Enable AJAX'
WARNING: Found a translation function that is missing a text-domain. Function __, with the arguments 'Default Template'
WARNING: Found a translation function that has an incorrect number of arguments. Function __, with the arguments 'first string', \n, 'second string'
WARNING: Found a translation function that has an incorrect number of arguments. Function __, with the arguments 'first string', \n, 'second string', "\n"
WARNING: Found a translation function that has an incorrect number of arguments. Function __, with the arguments 'first string', \n, 'second string', "\n", 'third string'
WARNING: Found a translation function that has an incorrect number of arguments. Function __, with the arguments 'first string', \n, 'second string', "\n", 'third string', 'cornerstone'
WARNING: Found ini_set in the file cornerstone/includes/classes/common/class-router.php. Themes should not change server PHP settings.
Line 205: ini_set( 'display_errors', false );
WARNING: Found base64_encode in the file cornerstone/includes/classes/elements/class-element-renderer.php. base64_encode() is not allowed.
Line 207: $markup = base64_encode( apply_filters( 'cs_render_element_zone_output', $html ) );
Line 238: $this->html_cache[$key] = '{{base64content '' . base64_encode( $content ) . '' }}';
WARNING: Found base64_encode in the file cornerstone/includes/classes/common/class-router.php. base64_encode() is not allowed.
Line 551: $action_response_data['data'] = base64_encode( gzcompress( json_encode( $action_response_data['data'] ), 9
WARNING: Found base64_encode in the file cornerstone/includes/classes/common/class-common.php. base64_encode() is not allowed.
Line 279: return 'data:image/svg+xml;base64,' . base64_encode( '<svg xmlns='http://www.w3.org/2000/svg' width='{$width}px'
WARNING: Found base64_encode in the file cornerstone/includes/classes/classic/builder/class-builder-renderer.php. base64_encode() is not allowed.
Line 149: $markup = '{{base64content '' . base64_encode( $markup ) . '' }}';
WARNING: Found base64_decode in the file cornerstone/includes/classes/common/class-router.php. base64_decode() is not allowed.
Line 385: $decoded = base64_decode( $data['request'] );
WARNING: Found base64_decode in the file cornerstone/includes/classes/app/class-preview-frame-loader.php. base64_decode() is not allowed.
Line 23: $this->state = json_decode( base64_decode( $_POST['cs_preview_state'] ), true );
WARNING: Both DOS and UNIX style line endings were found in the file framework/functions/global/admin/customizer/transients.php. This causes a problem with SVN repositories and must be corrected before the theme can be accepted. Please change the file to use only one style of line endings.
WARNING: Both DOS and UNIX style line endings were found in the file framework/functions/global/admin/customizer/preloader.php. This causes a problem with SVN repositories and must be corrected before the theme can be accepted. Please change the file to use only one style of line endings.
WARNING: Both DOS and UNIX style line endings were found in the file cornerstone/assets/dist-app/js/cs-vendor.js. This causes a problem with SVN repositories and must be corrected before the theme can be accepted. Please change the file to use only one style of line endings.
WARNING: file_put_contents was found in the file framework/functions/global/admin/addons/demo/class-x-demo-import-processor.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls.
Line 188: file_put_contents( $temp, file_get_contents($url) );
WARNING: file_get_contents was found in the file framework/functions/global/admin/addons/demo/class-x-demo-import-processor.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls.
Line 188: file_put_contents( $temp, file_get_contents($url) );
WARNING: file_get_contents was found in the file cornerstone/includes/classes/common/class-router.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls.
Line 364: $data = json_decode( file_get_contents( 'php://input' ), true );
WARNING: .ds_store Hidden Files or Folders found.
REQUIRED: You are not allowed to hide the admin bar.
REQUIRED: This theme text domain does not match the theme's slug. The text domain used: __x__, bbpress, cornerstone, \n, my-text-domain, __x__ , buddypressThis theme's correct slug and text-domain is pro.
REQUIRED: The theme uses the register_taxonomy() function, which is plugin-territory functionality.
REQUIRED: The theme uses the register_post_type() function, which is plugin-territory functionality.
REQUIRED: The theme must not used the <title> tags.
REQUIRED: The theme must not call to wp_title().
REQUIRED: The <title> tags can only contain a call to wp_title(). Use the wp_title filter to modify the output
REQUIRED: No reference to add_theme_support( "title-tag" ) was found in the theme.
REQUIRED: Found a Customizer setting that did not have a sanitization callback function. Every call to the add_setting() method needs to have a sanitization callback function passed.
REQUIRED: framework/functions/global/admin/addons/setup.php. Themes should use add_theme_page() for adding admin pages.
Line 96: add_submenu_page( 'x-addons-home', 'Validation', 'Validation', 'manage_opti
REQUIRED: framework/functions/global/admin/addons/setup.php. Themes should use add_theme_page() for adding admin pages.
Line 95: add_menu_page( 'Validation', X_TITLE, 'manage_options', 'x-addons-home', 'x
REQUIRED: cornerstone/includes/classes/admin/class-admin.php. Themes should use add_theme_page() for adding admin pages.
Line 197: add_submenu_page( 'cornerstone-home', $title, csi18n('admin.dashboard-menu-
Line 209: add_submenu_page( $settings_location, $title, $settings_title, 'manage_opti
REQUIRED: cornerstone/includes/classes/admin/class-admin.php. Themes should use add_theme_page() for adding admin pages.
Line 196: add_menu_page( $title, $title, 'manage_options', 'cornerstone-home', array(
REQUIRED: STYLESHEETPATH was found in the file framework/legacy/cranium/headers/setup.php. Use get_stylesheet_directory() instead.
Line 79: if ( file_exists( STYLESHEETPATH . '/' . $template ) ) {
REQUIRED: STYLESHEETPATH was found in the file framework/legacy/cranium/footers/setup.php. Use get_stylesheet_directory() instead.
Line 74: if ( file_exists( STYLESHEETPATH . '/' . $template ) ) {
RECOMMENDED: Possible variable $text found in translation function in framework/functions/global/admin/addons/setup.php. Translation function calls must NOT contain PHP variables.
Line 44: <a class='tco-btn tco-btn-nope' href='#' data-tco-toggle='<?php echo $box_class; ?> .tco-overlay'><?php _e( $text, '__x__' ); ?></a>
RECOMMENDED: Possible variable $t_pre found in translation function in cornerstone/includes/elements/mixins/toggle.php. Translation function calls must NOT contain PHP variables.
Line 81: 'title' => __( $t_pre . 'Toggle', '__x__' ),
RECOMMENDED: Possible variable $t_pre found in translation function in cornerstone/includes/elements/mixins/separator.php. Translation function calls must NOT contain PHP variables.
Line 62: 'title' => __( $t_pre . 'Separator', '__x__' ),
RECOMMENDED: Possible variable $t_pre found in translation function in cornerstone/includes/elements/mixins/particle.php. Translation function calls must NOT contain PHP variables.
Line 62: 'title' => __( $t_pre . ' Particle Setup', '__x__' ),
RECOMMENDED: Possible variable $t_pre found in translation function in cornerstone/includes/elements/mixins/particle.php. Translation function calls must NOT contain PHP variables.
Line 156: 'title' => __( $t_pre . 'Particle Style', '__x__' ),
RECOMMENDED: Possible variable $t_pre found in translation function in cornerstone/includes/elements/mixins/mejs.php. Translation function calls must NOT contain PHP variables.
Line 160: 'title' => __( $t_pre . ' Controls Colors', '__x__' ),
RECOMMENDED: Possible variable $t_pre found in translation function in cornerstone/includes/elements/mixins/mejs.php. Translation function calls must NOT contain PHP variables.
Line 132: 'title' => __( $t_pre . ' Controls Setup', '__x__' ),
RECOMMENDED: Possible variable $t_pre found in translation function in cornerstone/includes/elements/mixins/graphic.php. Translation function calls must NOT contain PHP variables.
Line 68: 't_pre' => __( $t_pre . ' Graphic Icon', '__x__' ),
Line 75: 't_pre' => __( $t_pre . ' Graphic Icon', '__x__' ),
Line 388: 'title' => __( $t_pre . ' Graphic Icon', '__x__' ),
RECOMMENDED: Possible variable $t_pre found in translation function in cornerstone/includes/elements/mixins/graphic.php. Translation function calls must NOT contain PHP variables.
Line 376: 't_pre' => __( $t_pre . ' Graphic', '__x__' ),
Line 465: 't_pre' => __( $t_pre . ' Graphic', '__x__' ),
RECOMMENDED: Possible variable $t_pre found in translation function in cornerstone/includes/elements/mixins/graphic.php. Translation function calls must NOT contain PHP variables.
Line 368: 'title' => __( $t_pre . ' Graphic Setup', '__x__' ),
RECOMMENDED: Possible variable $t_pre found in translation function in cornerstone/includes/elements/mixins/graphic.php. Translation function calls must NOT contain PHP variables.
Line 228: 'title' => __( $t_pre . ' Secondary Graphic Image', '__x__' ),
RECOMMENDED: Possible variable $t_pre found in translation function in cornerstone/includes/elements/mixins/graphic.php. Translation function calls must NOT contain PHP variables.
Line 211: 'title' => __( $t_pre . ' Primary Graphic Image', '__x__' ),
RECOMMENDED: Possible variable $t_pre found in translation function in cornerstone/includes/elements/mixins/graphic.php. Translation function calls must NOT contain PHP variables.
Line 182: 'title' => __( $t_pre . ' Graphic Image', '__x__' ),
Line 427: 'title' => __( $t_pre . ' Graphic Image', '__x__' ),
RECOMMENDED: Possible variable $t_pre found in translation function in cornerstone/includes/elements/mixins/bg.php. Translation function calls must NOT contain PHP variables.
Line 54: 'title' => __( $t_pre . ' Background Lower Layer', '__x__' ),
RECOMMENDED: Possible variable $t_pre found in translation function in cornerstone/includes/elements/mixins/bg.php. Translation function calls must NOT contain PHP variables.
Line 228: 'title' => __( $t_pre . ' Background Parallax', '__x__' ),
RECOMMENDED: Possible variable $t_pre found in translation function in cornerstone/includes/elements/mixins/bg.php. Translation function calls must NOT contain PHP variables.
Line 141: 'title' => __( $t_pre . ' Background Upper Layer', '__x__' ),
RECOMMENDED: Possible variable $t_pre found in translation function in cornerstone/includes/elements/mixins/anchor.php. Translation function calls must NOT contain PHP variables.
Line 79: 't_pre' => __( $t_pre, '__x__' ),
Line 89: 't_pre' => __( $t_pre, '__x__' ),
Line 103: 't_pre' => __( $t_pre, '__x__' ),
RECOMMENDED: Possible variable $t_pre found in translation function in cornerstone/includes/elements/mixins/anchor.php. Translation function calls must NOT contain PHP variables.
Line 604: 't_pre' => __( $t_pre . ' Sub Indicator', '__x__' ),
Line 610: 't_pre' => __( $t_pre . ' Sub Indicator', '__x__' ),
RECOMMENDED: Possible variable $t_pre found in translation function in cornerstone/includes/elements/mixins/anchor.php. Translation function calls must NOT contain PHP variables.
Line 539: 'title' => __( $t_pre . ' Sub Indicator Setup', '__x__' ),
RECOMMENDED: Possible variable $t_pre found in translation function in cornerstone/includes/elements/mixins/anchor.php. Translation function calls must NOT contain PHP variables.
Line 500: 't_pre' => __( $t_pre . ' Text', '__x__' ),
RECOMMENDED: Possible variable $t_pre found in translation function in cornerstone/includes/elements/mixins/anchor.php. Translation function calls must NOT contain PHP variables.
Line 487: 'title' => __( $t_pre . ' Text Setup', '__x__' ),
RECOMMENDED: Possible variable $t_pre found in translation function in cornerstone/includes/elements/mixins/anchor.php. Translation function calls must NOT contain PHP variables.
Line 366: 'title' => __( $t_pre . ' Setup', '__x__' ),
RECOMMENDED: Possible variable $t_pre found in translation function in cornerstone/includes/elements/mixins/anchor.php. Translation function calls must NOT contain PHP variables.
Line 131: 't_pre' => __( $t_pre . ' Secondary', '__x__' ),
RECOMMENDED: Possible variable $t_pre found in translation function in cornerstone/includes/elements/mixins/anchor.php. Translation function calls must NOT contain PHP variables.
Line 117: 't_pre' => __( $t_pre . ' Primary', '__x__' ),
RECOMMENDED: Possible variable $t_pre found in translation function in cornerstone/includes/elements/mixins/anchor.php. Translation function calls must NOT contain PHP variables.
Line 110: 't_pre' => __( $t_pre . ' Content', '__x__' ),
RECOMMENDED: Possible variable $t_pre found in translation function in cornerstone/includes/elements/mixins/_text-style.php. Translation function calls must NOT contain PHP variables.
Line 41: 'title' => __( $t_pre . 'Text Style', '__x__' ),
RECOMMENDED: Possible variable $t_pre found in translation function in cornerstone/includes/elements/mixins/_text-shadow.php. Translation function calls must NOT contain PHP variables.
Line 36: 'title' => __( $t_pre . 'Text Shadow', '__x__' ),
RECOMMENDED: Possible variable $t_pre found in translation function in cornerstone/includes/elements/mixins/_text-format.php. Translation function calls must NOT contain PHP variables.
Line 40: 'title' => __( $t_pre . 'Text Format', '__x__' ),
RECOMMENDED: Possible variable $t_pre found in translation function in cornerstone/includes/elements/mixins/_padding.php. Translation function calls must NOT contain PHP variables.
Line 36: 'title' => __( $t_pre . 'Padding', '__x__' ),
RECOMMENDED: Possible variable $t_pre found in translation function in cornerstone/includes/elements/mixins/_menu.php. Translation function calls must NOT contain PHP variables.
Line 36: 'title' => __( $t_pre . 'Menu', '__x__' ),
RECOMMENDED: Possible variable $t_pre found in translation function in cornerstone/includes/elements/mixins/_margin.php. Translation function calls must NOT contain PHP variables.
Line 36: 'title' => __( $t_pre . 'Margin', '__x__' ),
RECOMMENDED: Possible variable $t_pre found in translation function in cornerstone/includes/elements/mixins/_link.php. Translation function calls must NOT contain PHP variables.
Line 39: 'title' => __( $t_pre . 'Link', '__x__' ),
RECOMMENDED: Possible variable $t_pre found in translation function in cornerstone/includes/elements/mixins/_info.php. Translation function calls must NOT contain PHP variables.
Line 42: 'title' => __( $t_pre . 'Info', '__x__' ),
RECOMMENDED: Possible variable $t_pre found in translation function in cornerstone/includes/elements/mixins/_image.php. Translation function calls must NOT contain PHP variables.
Line 41: 'title' => __( $t_pre . 'Image', '__x__' ),
RECOMMENDED: Possible variable $t_pre found in translation function in cornerstone/includes/elements/mixins/_flex.php. Translation function calls must NOT contain PHP variables.
Line 36: 'title' => __( $t_pre . 'Flex', '__x__' ),
RECOMMENDED: Possible variable $t_pre found in translation function in cornerstone/includes/elements/mixins/_flex-layout-css.php. Translation function calls must NOT contain PHP variables.
Line 38: 'title' => __( $t_pre . 'Flex Layout', '__x__' ),
RECOMMENDED: Possible variable $t_pre found in translation function in cornerstone/includes/elements/mixins/_flex-layout-attr.php. Translation function calls must NOT contain PHP variables.
Line 36: 'title' => __( $t_pre . 'Flex Layout', '__x__' ),
RECOMMENDED: Possible variable $t_pre found in translation function in cornerstone/includes/elements/mixins/_box-shadow.php. Translation function calls must NOT contain PHP variables.
Line 36: 'title' => __( $t_pre . 'Box Shadow', '__x__' ),
RECOMMENDED: Possible variable $t_pre found in translation function in cornerstone/includes/elements/mixins/_border.php. Translation function calls must NOT contain PHP variables.
Line 36: 'title' => __( $t_pre . 'Border', '__x__' ),
RECOMMENDED: Possible variable $t_pre found in translation function in cornerstone/includes/elements/mixins/_border-radius.php. Translation function calls must NOT contain PHP variables.
Line 36: 'title' => __( $t_pre . 'Border Radius', '__x__' ),
RECOMMENDED: Possible variable $t_pre found in translation function in cornerstone/includes/elements/mixins/_anim.php. Translation function calls must NOT contain PHP variables.
Line 113: 'title' => __( $t_pre . 'Animation', '__x__' ),
RECOMMENDED: No reference to add_theme_support( "custom-header", $args ) was found in the theme. It is recommended that the theme implement this functionality if using an image for the header.
RECOMMENDED: No reference to add_theme_support( "custom-background", $args ) was found in the theme. If the theme uses background images or solid colors for the background, then it is recommended that the theme implement this functionality.
RECOMMENDED: No reference to add_editor_style() was found in the theme. It is recommended that the theme implement editor styling, so as to make the editor content match the resulting post output in the theme, for a better user experience.
RECOMMENDED: Tags: is either empty or missing in style.css header.