• Resolved Daniel Payne

    (@djepayne)


    I setup a Bing webmaster account, and they want me to add the following meta statement in the header:

    <meta name=”msvalidate.01″content=”84FB9AFAEA2C47CADF801045CA7B39DD” />

    So I used this plugin, entered the value, then looked at one of my WordPress pages, however there is no meta statement for msvalidate present. Even after I save this value in the WordPress GUI it simply disappears and is instead replaced by: <meta />. Very weird plugin behavior.

    What’s wrong with this plugin?

    https://ww.wp.xz.cn/plugins/add-meta-tags/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author George Notaras

    (@gnotaras)

    Hello Daniel,

    You have a typo in the meta statement and it cannot pass the internal validation. An empty space is required before content=.

    Correct statement:

    <meta name="msvalidate.01" content="84FB9AFAEA2C47CADF801045CA7B39DD" />

    Hope this helps,
    George

    Thread Starter Daniel Payne

    (@djepayne)

    So how is a plugin user supposed to know that there is an internal validation, and that a space is required? There is no feedback after I click Save.

    Plugin Author George Notaras

    (@gnotaras)

    Hello Daniel,

    The HTML syntax is the responsibility of the user. Detecting syntax errors like a missing space is beyond the scope of the validation that is performed.

    The internal validation exists for security reasons, mainly to protect the Metadata metabox in the post editing screen, where non admins might have access in case of a multi-author blog. Nevertheless, it is also used for the plugin settings.

    The internal validation uses the internal WordPress API and involves serialization of the input and removal of invalid content. No feedback is returned to the user because the WordPress API returns no such feedback.

    Unfortunately, there are no plans to implement a custom mechanism that returns such feedback to the user.

    Thanks for your understanding.

    George

    PS: I’m marking the topic as resolved. Feel free to re-open.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Doesn't work with msvalidate.01’ is closed to new replies.