WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: xLanguage] Problem with GD Star Rating plugin (2 posts)

  1. Milan Petrovic
    Member
    Posted 5 years ago #

    I am the author of GD Star Rating plugin. I have received a bug report for the rating plugin, that turned out to be a problem caused by xLanguage. For posts that only have one language part of the rating block is removed (one whole div is missing). Posts that have more than one language works ok.

    Can you tell me why the xLanguage will be removing stuff from generated post content, and what should I do to prevent it? The DIV that is removed had only one class: INNER.

    Regards,
    Milan

  2. Milan Petrovic
    Member
    Posted 5 years ago #

    I have found what was causing the problem. You have a function that removes all empty tags from the content. And since your plugin is loaded after rating plugin, content already contains rating block that has some empty divs, and your plugin delete's them.

    I am sure that some other plugin get broken by such code, and it would be good for you to change that because empty tag is not useless tag.

    Regards,
    Milan

Topic Closed

This topic has been closed to new replies.

About this Topic