Skip to main content
grammar
Source Link
kanlukasz
  • 534
  • 8
  • 24

I have no words 🤦‍♂️

AOk, a simple change

  • dirname(plugin_basename(__FILE__)) . '/languages/' inside wp_set_script_translations() function (3rd argument)

to

  • plugin_dir_path(__FILE__) . 'languages/'

fixed the problem

I have no words 🤦‍♂️

A simple change

  • dirname(plugin_basename(__FILE__)) . '/languages/' inside wp_set_script_translations() function (3rd argument)

to

  • plugin_dir_path(__FILE__) . 'languages/'

fixed the problem

Ok, a simple change

  • dirname(plugin_basename(__FILE__)) . '/languages/' inside wp_set_script_translations() function (3rd argument)

to

  • plugin_dir_path(__FILE__) . 'languages/'

fixed the problem

added 52 characters in body
Source Link
kanlukasz
  • 534
  • 8
  • 24

I have no words 🤦‍♂️

A simple change

  • dirname(plugin_basename(__FILE__)) . '/languages/' inside wp_set_script_translations() function (3rd argument)

to

  • plugin_dir_path(__FILE__) . 'languages/'

fixed the problemfixed the problem

I have no words 🤦‍♂️

A simple change

  • dirname(plugin_basename(__FILE__)) inside wp_set_script_translations() function

to

  • plugin_dir_path(__FILE__)

fixed the problem

I have no words 🤦‍♂️

A simple change

  • dirname(plugin_basename(__FILE__)) . '/languages/' inside wp_set_script_translations() function (3rd argument)

to

  • plugin_dir_path(__FILE__) . 'languages/'

fixed the problem

Source Link
kanlukasz
  • 534
  • 8
  • 24

I have no words 🤦‍♂️

A simple change

  • dirname(plugin_basename(__FILE__)) inside wp_set_script_translations() function

to

  • plugin_dir_path(__FILE__)

fixed the problem