There is a possibility, that this string has been already translated and WP is displaying the translation, which has another format.
Try to pass a comma without a function, or take look at _x
, where you can specify the context, you are translating.
EDIT
/**
* Function fixes unknown issue of an unusual space in the tag list
* @param string $html a piece of html code
* @ return string
*/
function fix_tags_separator_bug($html){
$separator = ", ";
return preg_replace("/(\s){0,},(\s){0,1}/", $separator, $html);
}
add_filter("the_tags", "fix_tags_separator_bug");
Related Posts:
- Using classes instead of global functions in functions.php
- How to check if post has any tag?
- How do I “unhook” / de-register jQuery so that it’s not called as part of wp_footer();?
- Removing the default sidebar from admin panel
- Returning Variables back into a template
- What tags should be used for themes to show the type of layout?
- Can’t change theme name
- Displaying Tags for the Page I’m On?
- Replace function in a child theme
- How to set a page as homepage in stead of the newspages?
- Customizer – loading settings/controls/sections/panels based on a id/page id
- Renaming a theme so it aids SEO and the theme used is hidden
- Integrate WooCommerce theme with a WordPress theme [closed]
- Admin: sub menu doesnt display under apperance when activate my themes
- Automated Footer information
- how to get the post attachement image in full size?
- Widget Option is Missing
- How do you use WordPress for a website that’s not in a blog format?
- Custom theme, contact form 7 & fast secure form doesn’t work
- How do I get the trackback count of a post in wordpress without writing an SQL query?
- Overrite parent functions using child functions
- Best way to develop a new theme on a live site, with new content? [closed]
- Tag Page Not Listing All Posts With Tag
- How do I make the most minimal vanilla theme possible with nothing but raw content?
- Can I Set Up Session in WordPress Custom Page
- Does code in function.php differ from theme to theme
- WordPress 3.8 Backend Admin Color Scheme add more scheme how to do?
- Is it acceptable for a WordPress theme to not accept widgets?
- WordPress Theme Validator?
- Change the “Default Avatar” admin option via functions.php
- Should all references to a text domain be to my current theme?
- Theme thumbnail in dashboard
- Replace single_template filter with what for default posts?
- Add tags to pages
- If you were to start using a WordPress framework today, which one would you use? [closed]
- 3 Level Deep Navigation Menu Not Showing All Levels
- How can I change the theme of different posts using a plugin?
- Template for landing pages
- How to change the theme directory uri for localhost?
- Set a featured image as a replacement to the header image
- Is it possible to have a theme that uses only one single page?
- Custom theme: How to call archive-post.php for viewing blog posts
- Will my site get messed up when the wordpress theme updates if I edited the html code in the editor to change footer?
- underscores use of the article element on the page template
- How to create and populate with few links a menu in child theme functions.php?
- Plugin does not work in custom theme
- How to Have a Pure HTML Sub Directory In WP Site
- How to correctly enqueue the parent and child theme stylesheets in the creation of a child theme? [duplicate]
- Create a child theme from multiple themes
- Theme not showing up
- html5-reset theme does not show the image [closed]
- Managing WordPress Theme
- Theming Using Bootstrap Glyphicons and WordPress Dashicons
- featured content: which area does this cover [closed]
- Change image size depending on page
- Some questions about how proper add 2 CSS file in a WordPress theme?
- get_template_directory adding FTP root folders in urls
- WordPress page/blog incorporated into static website
- Theme Customizer not displaying saved values in wp_head (CSS)
- Random white space before doctype
- JQuery undefined and Stylesheet loads in bottom along with js files
- Why tags are displayed bellow the content and not inside
- Adding a gallery to my first theme
- How to add menù section to my WordPress template?
- Are seven additional image sizes are too many?
- What are the critical theme files when building a custom theme?
- Having issue with WordPress wp_enqueue_style
- How can I use the WordPress Loop and Pagination in multiple instances but different scenarios throughout my site?
- Starting point for custom Themes [closed]
- How can I hard code my sidebar?
- What exactly is “wordpress theming”? [closed]
- Simple child theme modification but links are broken
- Theme Development -> Specific Homepage
- Making a WordPress theme based on twentyten
- How to call the_time current?
- Thesis -style Navigation
- registering a global template wordpress 6.0
- How can I wrap all blog posts image with
- theme style is applied on the dhasboard rather than the website
- Copying the theme style files and images to duplicate the website but with a difference
- Why still output /wp-content/themes/twentynineteen?
- I have WordPress setup on primary domain, how do I set it up on its subdomain using the same database?
- Which cache is kicking
- How to set Post meta-box defaults based on the choices made by user in Customizer?
- Theme Action to hook for one time only function [duplicate]
- Alignment Problem [closed]
- Get Post’s Excerpt Without the Wrapping tags and the Read More link
- What $handle does WordPress use for a theme’s implicit style.css?
- searchform.php doesn’t work properly
- Issue when posting updates/changes to wordress
- Getting the teaser text without overriding global variables
- Why Tags don’t appear in my page?
- Customizer: get_preview_url() inside customize_save_after hook
- Valid SQL query not returning results
- How to track a users last visited page?
- get_header action not working
- “options.php” not found
- In a Gallery with limited image posts, how do I not limit images on single post?
- Shortcodes do not work in own template
- Adding Bootstrap to WordPress TwentySixteen Theme