• Resolved danpacey

    (@danpacey)


    I wonder if anyone can help.

    I’d like to identify where in the core files “http://” is added to comment_author_url when a user posts a comment and includes their URL.

    Or, failing that, how I can output <?php comment_author_email_url(); ?> without the http:// in front.

    Many thanks,

    Dan

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter danpacey

    (@danpacey)

    Perhaps instead of the above I can use whatever code generates the output in the image below, on the Edit Comments admin page:

    Example screenshot

    This strips http:// and www. from values stored in comment_author_url.. but I just can’t find the code for this in the core files.

    Anyone got any ideas?

    Thanks again.

    maildeab

    (@maildeab)

    Hi!
    I want to use the field: ‘comment_author_url’ to save the ‘city’
    then, i need to do this insert without ‘http://&#8217;
    I already changed comment’s templates.
    Thanks for advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘automatic insertion of “http://” to comment_author_url’ is closed to new replies.