20 | | If this will considered a bug, we can do the same thing in code, just for example. Store the $attr parameter into $user_attr before the wp_parse_args and then check if the $user_attr has a key 'class', that means the $default classes have been overwrite, if so, append the default classes to the new $attr['class'] string. |
| 20 | If this will considered a bug, we can do the same thing in code, just for example. Store the $attr parameter into $user_attr before the wp_parse_args and then check if the $user_attr has a key 'class', that means the $default classes have been overwrite, if so, append the default classes to the new $attr class string. |