Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Warnings from Theme Check

Home / Forums / Virtue Theme / Warnings from Theme Check

This topic is: Not Resolved
[Not Resolved]
Posted in: Virtue Theme
October 26, 2015 at 7:07 pm

I found a lot of warnings with theme check function in WordPress. Do I need to fix them? Is there easy way to fix them?

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 virtue-premium.
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 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 _n_noop, with the arguments ‘This theme requires the following plugin: %1$s.’,’This theme requires the following plugins: %1$s.’
WARNING: Found a translation function that is missing a text-domain. Function _n_noop, with the arguments ‘This theme comes packaged with the following premium plugin: %1$s. Plugin is not required.’,’This theme comes packaged with the following premium plugins: %1$s. Plugins are not required.’
WARNING: Found a translation function that is missing a text-domain. Function _n_noop, with the arguments ‘The following required plugin is currently inactive: %1$s.’,’The following required plugins are currently inactive: %1$s.’
WARNING: Found a translation function that is missing a text-domain. Function _n_noop, with the arguments ‘The following recommended plugin is currently inactive: %1$s.’,’The following recommended plugins are currently inactive: %1$s.’
WARNING: Found a translation function that is missing a text-domain. Function _n_noop, with the arguments ‘The following plugin needs to be updated to its latest version to ensure maximum compatibility with this theme: %1$s.’,’The following plugins need to be updated to their latest version to ensure maximum compatibility with this theme: %1$s.’
WARNING: Found a translation function that is missing a text-domain. Function _n_noop, with the arguments ‘Sorry, but you do not have the correct permissions to update the %s plugin. Contact the administrator of this site for help on getting the plugin updated.’,’Sorry, but you do not have the correct permissions to update the %s plugins. Contact the administrator of this site for help on getting the plugins updated.’
WARNING: Found a translation function that is missing a text-domain. Function _n_noop, with the arguments ‘Sorry, but you do not have the correct permissions to install the %s plugin. Contact the administrator of this site for help on getting the plugin installed.’,’Sorry, but you do not have the correct permissions to install the %s plugins. Contact the administrator of this site for help on getting the plugins installed.’
WARNING: Found a translation function that is missing a text-domain. Function _n_noop, with the arguments ‘Sorry, but you do not have the correct permissions to activate the %s plugin. Contact the administrator of this site for help on getting the plugin activated.’,’Sorry, but you do not have the correct permissions to activate the %s plugins. Contact the administrator of this site for help on getting the plugins activated.’
WARNING: Found a translation function that is missing a text-domain. Function _n_noop, with the arguments ‘Begin installing plugin’,’Begin installing plugins’
WARNING: Found a translation function that is missing a text-domain. Function _n_noop, with the arguments ‘Activate installed plugin’,’Activate installed plugins’
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 ‘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 ‘Remove’
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 ‘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 ‘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
WARNING: Found a translation function that is missing a text-domain. Function __, with the arguments ‘woocommerce’
WARNING: Found a translation function that is missing a text-domain. Function __, with the arguments ‘Select Color’
WARNING: Found a translation function that is missing a text-domain. Function __, with the arguments ‘Save’
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 ‘Default’
WARNING: Found a translation function that is missing a text-domain. Function __, with the arguments ‘Current Color’
WARNING: Found a translation function that is missing a text-domain. Function __, with the arguments ‘Clear’
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)’
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: get_bloginfo(‘url’) was found in the file breadcrumbs.php. Use home_url() instead.Line 57: $homeLink = get_bloginfo(‘url’);

REQUIRED: framework.php. Themes should use add_theme_page() for adding admin pages.Line 1408: $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 1331: // wrappers and need to be appened to using add_submenu_page.
Line 1382: $this->page = call_user_func( ‘add_submenu_page’, $page_parent, $page_title, $menu_title, $page_permission
Line 1440: call_user_func( ‘add_submenu_page’, $this->args[‘page_slug’], $section[‘title’], $section[‘t

REQUIRED: class-tgm-plugin-activation.php. Themes should use add_theme_page() for adding admin pages.Line 646: $this->page_hook = call_user_func( ‘add_{$type}_page’, $args[‘parent_slug’], $args[‘page_title’], $args[‘menu_t

REQUIRED: bloginfo(‘url’) was found in the file breadcrumbs.php. Use echo esc_url( home_url() ) instead.Line 57: $homeLink = get_bloginfo(‘url’);

  • The forum ‘Virtue Theme’ is closed to new topics and replies.