-
Closed
-
Hi
Im using alora theme version 2.8.1 in wordpress 4.7a nd php 7.1.0 and i have just run a Theme check and I get all these warnings and recommendations. Is this something you plan to look into?
REQUIRED: .gallery-caption css class is needed in your theme css.
REQUIRED: .bypostauthor 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 alora, redux-framework, themecheck, wordpress-importer, downloads_remaining, >Ubermenu Plugin Support option on the Advanced tab in alora
WARNING: Your theme appears to be in the wrong directory for the theme name. The directory name must match the slug of the theme. This theme’s correct slug and text-domain is alora-child-theme.
(If this is a child theme, you can ignore this error.)
WARNING: The theme uses the add_shortcode() function. Custom post-content shortcodes are plugin-territory functionality.
WARNING: The tag responsive-layout has been deprecated, please remove it from your style.css header.
WARNING: The tag light has been deprecated, please remove it from your style.css header.
WARNING: The tag dark has been deprecated, please remove it from your style.css header.
WARNING: Found wp_deregister_script in functions.php. Themes must not deregister core scripts.
Line 714: wp_deregister_script(‘modernizr’);
Line 719: wp_deregister_script(‘novagallery_modernizr’);
Line 725: wp_deregister_script(‘ccgallery_modernizr’);
Line 730: wp_deregister_script(‘jquery.carouFredSel’);
Line 736: wp_deregister_script(‘jquery.prettyPhoto’);
Line 744: wp_deregister_script(‘jquery.prettyPhoto’);
Line 750: wp_deregister_script(‘jquery.flexslider’);
Line 754: wp_deregister_script(‘jquery.fitvids’);
Line 767: wp_deregister_script(‘alora’);
WARNING: Found wp_deregister_script in framework.php. Themes must not deregister core scripts.
Line 565: wp_deregister_script( ‘wpb_ace’ );
WARNING: Found wp_deregister_script in enqueue.php. Themes must not deregister core scripts.
Line 215: wp_deregister_script( ‘jquerySelect2’ );
WARNING: Found a translation function that is missing a text-domain. Function esc_attr_e, with the arguments
WARNING: Found a translation function that is missing a text-domain. Function esc_attr_e, with the arguments ‘Move up’
WARNING: Found a translation function that is missing a text-domain. Function esc_attr_e, with the arguments ‘Move down’
WARNING: Found a translation function that is missing a text-domain. Function esc_attr_e, with the arguments ‘Edit Menu Item’
WARNING: Found a translation function that is missing a text-domain. Function _e, with the arguments ‘sub item’
WARNING: Found a translation function that is missing a text-domain. Function _e, with the arguments ‘Up one’
WARNING: Found a translation function that is missing a text-domain. Function _e, with the arguments ‘URL’
WARNING: Found a translation function that is missing a text-domain. Function _e, with the arguments ‘To the top’
WARNING: Found a translation function that is missing a text-domain. Function _e, with the arguments ‘Title Attribute’
WARNING: Found a translation function that is missing a text-domain. Function _e, with the arguments ‘The description will be displayed in the menu if the current theme supports it.’
WARNING: Found a translation function that is missing a text-domain. Function _e, with the arguments ‘Set Thumbnail’
WARNING: Found a translation function that is missing a text-domain. Function _e, with the arguments ‘Remove’
WARNING: Found a translation function that is missing a text-domain. Function _e, with the arguments ‘Remove image’
WARNING: Found a translation function that is missing a text-domain. Function _e, with the arguments ‘Open link in a new window/tab’
WARNING: Found a translation function that is missing a text-domain. Function _e, with the arguments ‘Navigation Label’
WARNING: Found a translation function that is missing a text-domain. Function _e, with the arguments ‘Move’
WARNING: Found a translation function that is missing a text-domain. Function _e, with the arguments ‘Link Relationship (XFN)’
WARNING: Found a translation function that is missing a text-domain. Function _e, with the arguments ‘Edit Menu Item’
WARNING: Found a translation function that is missing a text-domain. Function _e, with the arguments ‘Down one’
WARNING: Found a translation function that is missing a text-domain. Function _e, with the arguments ‘Description’
WARNING: Found a translation function that is missing a text-domain. Function _e, with the arguments ‘Cancel’
WARNING: Found a translation function that is missing a text-domain. Function _e, with the arguments ‘CSS Classes (optional)’
WARNING: Found a translation function that is missing a text-domain. Function __, with the arguments ‘alora’
WARNING: Found a translation function that is missing a text-domain. Function __, with the arguments ‘Sucessfully imported demo data!’
WARNING: Found a translation function that is missing a text-domain. Function __, with the arguments ‘Original: %s’
WARNING: Found a translation function that is missing a text-domain. Function __, with the arguments ‘%s (Pending)’
WARNING: Found a translation function that is missing a text-domain. Function __, with the arguments ‘%s (Invalid)’
WARNING: Found a translation function that has an incorrect number of arguments. Function _n, with the arguments ‘%s download remaining’, ‘%s downloads remaining’, downloads_remaining, ‘alora’
WARNING: Found a translation function that has an incorrect number of arguments. Function __, with the arguments ‘It seems you have Ubermenu installed, please enable theme options to allow compatiblity.
Hide Notice’
WARNING: Found a translation function that has an incorrect number of arguments. Function __, with the arguments ‘It seems you have Ubermenu installed, please enable theme options to allow compatiblity.Hide Notice’
WARNING: Found base64_encode in the file tweets-widget.php. base64_encode() is not allowed.
Line 48: $toSend = base64_encode($credentials);
WARNING: fopen was found in the file parsers.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls.
Line 432: $fp = $this->fopen($file, ‘r’);
Line 659: function fopen($filename, $mode = ‘r’) {
Line 662: return fopen($filename, $mode);
WARNING: file_get_contents was found in the file parsers.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls.
Line 70: $success = $dom->loadXML(file_get_contents($file));
Line 275: if (!xml_parse($xml, file_get_contents($file), true)) {
WARNING: fclose was found in the file parsers.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls.
Line 481: $this->fclose($fp);
Line 677: function fclose($fp) {
Line 680: return fclose($fp);
REQUIRED: You are not allowed to hide the admin bar.
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: wp_get_http() found in the file wordpress-importer.php. Deprecated since version 4.4. Use WP_Http instead.
Line 908: $headers = wp_get_http($url, $upload[‘file’]);
REQUIRED: welcome.php. Themes should use add_theme_page() for adding admin pages.
Line 199: $page = ‘add_management_page’;
REQUIRED: screen_icon() found in the file wordpress-importer.php. Deprecated since version 3.8.
Line 1035: screen_icon();
REQUIRED: get_currentuserinfo() found in the file form-edit-address.php. Deprecated since version 4.5. Use wp_get_current_user instead.
Line 16: get_currentuserinfo();
REQUIRED: get_bloginfo(‘template_directory’) was found in the file multiple-featured-images.php. Use get_template_directory_uri() instead.
Line 88: ‘kd-multiple-featured-images’, get_bloginfo(‘template_directory’) . ‘/framework/plugins/multiple-featured-
REQUIRED: get_bloginfo(‘template_directory’) was found in the file metaboxes.php. Use get_template_directory_uri() instead.
Line 18: wp_register_script(‘alora_upload’, get_bloginfo(‘template_directory’) . ‘/js/upload.js’);
REQUIRED: get_bloginfo(‘template_directory’) was found in the file header.php. Use get_template_directory_uri() instead.
Line 403: background-image: url(‘<?php echo get_bloginfo(‘template_directory’) . ‘/images/patterns/’ . $smof_data[‘bg_p
REQUIRED: get_bloginfo(‘template_directory’) was found in the file functions.php. Use get_template_directory_uri() instead.
Line 694: $template_directory = get_bloginfo(‘template_directory’);
REQUIRED: get_bloginfo(‘template_directory’) was found in the file custom_functions.php. Use get_template_directory_uri() instead.
Line 1191: $icon_array[$i] = get_bloginfo(‘template_directory’) . ‘/images/alora_map_marker.png’;
REQUIRED: framework.php. Themes should use add_theme_page() for adding admin pages.
Line 1424: $this->page = call_user_func( ‘add_menu_page’, $this->args[‘page_title’], $this->args[‘menu_title’], $this
REQUIRED: framework.php. Themes should use add_theme_page() for adding admin pages.
Line 1347: // wrappers and need to be appened to using add_submenu_page.
Line 1398: $this->page = call_user_func( ‘add_submenu_page’, $page_parent, $page_title, $menu_title, $page_permission
Line 1456: call_user_func( ‘add_submenu_page’, $this->args[‘page_slug’], $section[‘title’], $section[‘t
REQUIRED: class-wp-theme-update-manager.php. Themes should use add_theme_page() for adding admin pages.
Line 118: add_submenu_page(‘themes.php’, ‘Theme Updates’, ‘Theme Updates’, ‘manage_op
REQUIRED: bloginfo(‘template_directory’) was found in the file style_selector.php. Use echo esc_url( get_template_directory_uri() ) instead.
Line 87: background: #fff url(<?php bloginfo(‘template_directory’); ?>/admin/assets/images/switcher.gif) center
Line 228: /images/colorpicker/cyan.png’ alt=” clas
Line 229: /images/colorpicker/red.png’ alt=” />/images/colorpicker/blue.png’ alt=” /></
Line 231: /images/colorpicker/navy.png’ alt=” /></
Line 232: /images/colorpicker/green.png’ alt=” /><
Line 233: /images/colorpicker/olive.png’ alt=” /><
Line 234: /images/colorpicker/orange.png’ alt=” />
Line 235: /images/colorpicker/pink.png’ alt=” /></
Line 236: /images/colorpicker/brown.png’ alt=” /><
Line 237: /images/colorpicker/grey.png’ alt=” /></
Line 259: /images/patterns/pattern1.png’ alt=” cla
Line 260: /images/patterns/pattern2.png’ alt=” /><
Line 261: /images/patterns/pattern3.png’ alt=” /><
Line 262: /images/patterns/pattern4.png’ alt=” /><
Line 263: /images/patterns/pattern5.png’ alt=” /><
Line 264: /images/patterns/pattern6.png’ alt=” /><
Line 265: /images/patterns/pattern7.png’ alt=” /><
Line 266: /images/patterns/pattern8.png’ alt=” /><
Line 267: /images/patterns/pattern9.png’ alt=” /><
Line 268: /images/patterns/pattern10.png’ alt=” />
Line 272: /images/patterns/bkgd1_thumbnail.png’ alt
Line 273: /images/patterns/bkgd2_thumbnail.png’ alt
Line 274: /images/patterns/bkgd3_thumbnail.png’ alt
Line 275: /images/patterns/bkgd4_thumbnail.png’ alt
Line 276: /images/patterns/bkgd5_thumbnail.png’ alt
REQUIRED: bloginfo(‘template_directory’) was found in the file multiple-featured-images.php. Use echo esc_url( get_template_directory_uri() ) instead.
Line 88: ‘kd-multiple-featured-images’, get_bloginfo(‘template_directory’) . ‘/framework/plugins/multiple-featured-imag
REQUIRED: bloginfo(‘template_directory’) was found in the file metaboxes.php. Use echo esc_url( get_template_directory_uri() ) instead.
Line 18: wp_register_script(‘alora_upload’, get_bloginfo(‘template_directory’) . ‘/js/upload.js’);
REQUIRED: bloginfo(‘template_directory’) was found in the file header.php. Use echo esc_url( get_template_directory_uri() ) instead.
Line 23: <script type=’text/javascript’ src='<?php bloginfo(‘template_directory’); ?>/js/html5shiv.js’></script>
Line 27: <link rel=’stylesheet’ href='<?php bloginfo(‘template_directory’); ?>/css/ie.css’ />
Line 403: background-image: url(‘<?php echo get_bloginfo(‘template_directory’) . ‘/images/patterns/’ . $smof_data[‘bg_patte
REQUIRED: bloginfo(‘template_directory’) was found in the file functions.php. Use echo esc_url( get_template_directory_uri() ) instead.
Line 694: $template_directory = get_bloginfo(‘template_directory’);
REQUIRED: bloginfo(‘template_directory’) was found in the file footer.php. Use echo esc_url( get_template_directory_uri() ) instead.
Line 127: <script type=’text/javascript’ src='<?php bloginfo(‘template_directory’); ?>/js/respond.js’></script>
REQUIRED: bloginfo(‘template_directory’) was found in the file dynamic_css.php. Use echo esc_url( get_template_directory_uri() ) instead.
Line 3523: background-image: url(<?php bloginfo(‘template_directory’) ?>images/shadow-bottom.png);
REQUIRED: bloginfo(‘template_directory’) was found in the file custom_functions.php. Use echo esc_url( get_template_directory_uri() ) instead.
Line 793:/images/video_preview.jpg);’>Line 1191: $icon_array[$i] = get_bloginfo(‘template_directory’) . ‘/images/alora_map_marker.png’;
REQUIRED: Zip file found. Plugins are not allowed in themes. The zip file found was t4p_slider.zip t4p-core.zip.
REQUIRED: TEMPLATEPATH was found in the file functions.php. Use get_template_directory() instead.
Line 3: load_theme_textdomain(‘alora’, TEMPLATEPATH . ‘/languages’);
RECOMMENDED: Possible variable $user found in translation function in woo-config.php. Translation function calls must NOT contain PHP variables.
Line 1414: <input type=’email’ class=’input-text’ name=’account_email’ id=’account_email’ value='<?php esc_attr_e($user->user_email); ?>’ />
RECOMMENDED: Possible variable $user found in translation function in woo-config.php. Translation function calls must NOT contain PHP variables.
Line 1410: <input type=’text’ class=’input-text’ name=’account_last_name’ id=’account_last_name’ value='<?php esc_attr_e($user->last_name); ?>’ />
RECOMMENDED: Possible variable $user found in translation function in woo-config.php. Translation function calls must NOT contain PHP variables.
Line 1406: <input type=’text’ class=’input-text’ name=’account_first_name’ id=’account_first_name’ value='<?php esc_attr_e($user->first_name); ?>’ />
RECOMMENDED: Possible variable $url found in translation function in functions.php. Translation function calls must NOT contain PHP variables.
Line 1091: printf(__(‘It seems you have Ubermenu install
RECOMMENDED: Possible variable $url found in translation function in functions.php. Translation function calls must NOT contain PHP variables.
Line 1085: printf(__(‘It seems you have Ubermenu install
RECOMMENDED: Possible variable $cvalue found in translation function in woo-config.php. Translation function calls must NOT contain PHP variables.
Line 770: echo ‘<option value=” . esc_attr($ckey) . ” ‘ . selected($current_r, $ckey, false) . ‘>’ . __(esc_html($cvalue), ‘alora’) . ‘</option>’;
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: wp_get_http() found in the file wordpress-importer.php. Deprecated since version 4.4. Use WP_Http instead.
Line 908: $headers = wp_get_http($url, $upload[‘file’]);
The topic Problems as a result of theme check is closed to new replies