Skip to:
Content
Pages
Categories
Search
Top
Bottom

“http” instead of “https” in link text


  • sasasasaaa
    Participant

    @sasasasaaa

    Hello,

    I have added an extra profile group to members profile page with a URL group field.

    When I enter https://www.example.org into the URL group field and save it, the url with https is saved correct in my database.

    But when I go to the profile site to check, the LINK TEXT is without s; only http.
    The LINK URL itself is correct with https.

    Does anybody has an idea how to solve it?

    I really tried for hours.

    In the class-bp-xprofile-field-typ-url.php is function to catch submitted URL values, and if
    the http protocol is missing, buddypress prepends ‘http://’ before passing to
    is_valid().

    Could this might be the issue?

    Or does somebody know how I can change the link text from http to https?

    I am only a php beginner.

    Thanks a lot.

  • You must be logged in to reply to this topic.
Skip to toolbar