• Resolved Str3lla

    (@cp_so)


    Hi,

    can you please remove this hardcoded tag from header.php?

    <link rel="profile" href="http://gmpg.org/xfn/11">

    It may be problematic for EU based users who must comply with the GDPR and can’t transfer IP information outside the EU .

    A filter to remove it will be great too.
    Keeping a copy of header.php in a child theme for the sole purpose of commenting a line of code is not the ideal solution 🙂

    Thanks for your time!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @cp_so, sorry for the long delay.

    Actually, you will see the same thing on the default WordPress theme like, 2020, 2019, Storefront. Since Astra theme follows the Theme Development Standards, I guess that’s why it does exist there.

    As of now, I guess keeping the copy of header.php file in child theme would be the only way to remove it.

    Kind regards,
    Herman 😊

    Thread Starter Str3lla

    (@cp_so)

    Hi @bsfherman ,
    thanks for getting back to me.

    Yep, I’m aware it was, at some point, a WordPress standard.

    I just saw the new filter, anyway… Thanks for listening! You guys are the best.

    For anyone interested, since v. 4.1.4 you can remove the gmpg link from the <head> tag using the astra_header_profile_gmpg_link filter.

    You’re most welcome, @cp_so.

    Well, it was also mentioned in the Changelog.

    Feel free to start a new thread if there is anything else related to Astra we can help you with.

    Kind regards,
    Herman 😊

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

The topic ‘Please, remove the hardcoded xfn tag from header.php’ is closed to new replies.