New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tooltip not working for switch in 2.4.0-beta.1 #1225

Closed
transbetacism opened this Issue Dec 23, 2016 · 0 comments

Comments

Projects
None yet
2 participants
@transbetacism

transbetacism commented Dec 23, 2016

Issue description:

The tooltip is not working for switches.
Video showing issue and code: https://cl.ly/iYN7

Version used:

2.4.0-beta.1 (it worked in 2.3.7).

Using theme_mods or options?

theme_mod

Code to reproduce the issue (config + field(s))

scandinavian_Kirki::add_field('scandinavian_theme', array(
  'type' => 'switch',
  'settings' => 'shop_sorting_option',
  'label' => esc_attr__('Sorting option', 'scandinavian-admin'),
  'tooltip' => esc_attr__('Makes it possible for the user to choose how the products should be sorted on catalog pages (eg by popularity or price). This will also show the text “Showing 1-9 of 15 results”.', 'scandinavian-admin'),
  'section' => 'shop_catalog',
  'default' => '1',
  'priority' => 30,
  'choices' => array(
    'on' => esc_attr__('Show', 'scandinavian-admin'),
    'off' => esc_attr__('Hide', 'scandinavian-admin'),
  ),
));

@aristath aristath closed this in 8b86cf2 Dec 30, 2016

@aristath aristath modified the milestone: 3.0 Apr 23, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment