Open shuvo247 opened 2 years ago
Hi! The internationalization guidelines, which are linked in the message, explains why using PHP variables or dynamic content this way does not work: https://developer.wordpress.org/apis/handbook/internationalization/internationalization-guidelines/#variables gettext can not know what "$destination->name" is.
RECOMMENDED: Possible variable $destination found in translation function in template-parts/common/category-bar.php. Translation function calls must not contain PHP variables, use placeholders instead. See Internationalization Guidelines (Opens in a new window).
How can I fix this issue?